I\'m getting this error when I call a web service:
\"The remote server returned an error: (407) Proxy Authentication Required\".
I get the general idea and I
In following code, we don't need to hard code the credentials.
service.Proxy = WebRequest.DefaultWebProxy; service.Credentials = System.Net.CredentialCache.DefaultCredentials; ; service.Proxy.Credentials = System.Net.CredentialCache.DefaultCredentials;