Recently, one of the queries I had was on “TCP error code 10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond” while consuming a web service over proxy settings. Setting the UseDefaultWebProxy to true didn’t help with this error.
I had earlier written a post on explicitly setting the proxy in the configuration file for Web Services. The scenario here though was, a WCF Service Client trying to consume the web service.
However, the same work around proved helpful. After setting the proxy explicitly, the web service could be consumed by the WCF Client.
The proxy setting that you want to add to the config file is as below:-
usesystemdefault = "false"
This would go within the <configuration> </configuration> tags. You can read the post written earlier at http://geekswithblogs.net/ranganh/archive/2005/08/29/51474.aspx