【问题标题】:Grab SOAP request on localhost在本地主机上获取 SOAP 请求
【发布时间】:2015-07-28 14:09:31
【问题描述】:

我在 localhost 和公共上运行相同的 Service1 服务:http://calculator.gear.host/Service1.svchttp://localhost:8733/Design_Time_Addresses/WcfServiceLibrary1/Service1/mex

我想使用 Fiddler 抓取数据包进行测试。作为客户端行为WcfTestClient.exe 应用程序内部配置

`WcfTestClient.exe.config` that asks wcf client go through proxy.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <system.net>
    <defaultProxy>
      <proxy
              bypassonlocal="false" 
              proxyaddress="http://127.0.0.1:8888"              
              />
    </defaultProxy>
  </system.net>
  <runtime>
    <DisableMSIPeek enabled="true"/>
  </runtime>
</configuration>

calculator.gear.host 一切正常,但我无法在 Fiddler 中使用 localhost 或 10.1.2.112(我的以太网 IP)查看数据包。

【问题讨论】:

    标签: wcf soap proxy fiddler


    【解决方案1】:

    根据telerik,您需要使用机器名称而不是localhost或IP:

    http://docs.telerik.com/fiddler/Observe-Traffic/Troubleshooting/NoTrafficToLocalhost

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-07-15
      • 1970-01-01
      • 1970-01-01
      • 2020-12-23
      • 2019-08-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多