How can I set an HTTP proxy on a 开发者_如何学运维WCF server side?
Is there is any way for that ?
You use a proxy server when you need to access some resource that is not on the same network as the client and for which the client has no direct access. Is your web service accessing remote resources like for example web pages? If on the other hand you are having issues calling your service then you need to set the proxy on the client side.
specify the proxy settings in web.config file
<system.net>
<defaultProxy enabled="true">
<proxy proxyaddress="http://yourproxyserver:proxyport"/>
</defaultProxy>
</system.net>
精彩评论