wcf - How do I set the proxy in webhttpbinding configuration to use fiddler -
i'm trying setup web service client use fiddler proxy setting in webhttpbinding configuration file follows:
<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>
this doesn't seem work. don't see logged in fiddler when calling webservice client. know call being made because response service.
i can't seem figure out i'm doing wrong.
any appreciated!
thanks!!
the .net framework not send requests "localhost" proxy, including fiddler. workaround this, try use machine name instead endpoint address (e.g. http://mymachine:2172/restserviceimpl.svc
).
also, take on using fiddler iis7 express
Comments
Post a Comment