【发布时间】:2023-03-24 19:53:01
【问题描述】:
我正在尝试通过在 webhttpbinding 配置文件中进行如下设置来设置我的 Web 服务客户端以使用提琴手代理:
<bindings>
<webHttpBinding>
<binding name="RestBinding" proxyAddress="http://localhost:8888"
useDefaultWebProxy="false">
</binding>
</webHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:2172/RestServiceImpl.svc"
binding="webHttpBinding" behaviorConfiguration="RestService"
bindingConfiguration="RestBinding"
contract="IWS.IRestServiceImpl" name="Rest"/>
</client>
这似乎不起作用。从客户端调用 web 服务时,我没有看到任何登录 fiddler 的内容。我知道正在拨打电话,因为我收到了服务的回复。
我似乎无法弄清楚我做错了什么。
感谢任何帮助!
谢谢!!
【问题讨论】:
标签: wcf fiddler wcf-rest webhttpbinding