fiddler 2中未捕获wcf服务?
仍在尝试在fiddler 2中记录请求:( 当我在wcftestclient.exe中调用它时,我在vs.net 2010中创建了一个简单的WcfService1 它不会出现在《小提琴手》中,有人知道吗 web.configfiddler 2中未捕获wcf服务?,wcf,fiddler,wcftestclient,Wcf,Fiddler,Wcftestclient,仍在尝试在fiddler 2中记录请求:( 当我在wcftestclient.exe中调用它时,我在vs.net 2010中创建了一个简单的WcfService1 它不会出现在《小提琴手》中,有人知道吗 web.config <?xml version="1.0"?> <configuration> <system.net> <defaultProxy> <proxy bypassonlocal="False" us
<?xml version="1.0"?>
<configuration>
<system.net>
<defaultProxy>
<proxy bypassonlocal="False" usesystemdefault="True" proxyaddress="http://127.0.0.1:8888" />
</defaultProxy>
</system.net>
<system.web>
<compilation debug="true" targetFramework="4.0" />
</system.web>
<system.serviceModel>
<bindings />
<client />
<behaviors>
<serviceBehaviors>
<behavior>
<!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpGetEnabled="true"/>
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
</configuration>
您是否使用localhost
作为主机名对端点进行寻址?请使用您的计算机名或网络IP地址,因为无法捕获指向localhost
或127.0.0.1
的流量。我在您的配置中没有看到任何WCF端点和WCF绑定配置-它们在哪里?如果您想让它们指向proxy、 您需要指定某个地方,
中的proxyAddress
现在可能没有被WCFusing machinename拾取,但它返回错误:添加服务失败。服务元数据可能无法访问。请确保您的服务正在运行并公开元数据。