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

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -