Would anyone happen to know if proxy servers are handled automatically by the current webservices code?
I read in several places that a client app written in .Net 2.0 that uses web services will automatically use the default proxy server settings but I can't seem to confirm this.
In the WebCerviceClient if I add:
proxy
.Proxy = WebRequest.DefaultWebProxy;
proxy.Proxy.Credentials = CredentialCache.DefaultNetworkCredentials;
It doesn't seem to have any effect on the actual connection. I created a bogus proxy server (via I.E.) and it still connects fine.
If I leave this code out proxy.Proxy remains null--so it doesn't look like it reads the default proxy setting automatically.
Is anyone out there using the WebServiceClient behind a proxy server?
Does it require additional configuration in your application in order to work?