How do I allow my web service to work with a Proxy Server
Posted on 2009-07-01
We are developing an application that has a client application that needs to call a web service that is located on our web server. The client application will be install by a wide range of users spanning from home users to people behind corporate firewalls.
What functionality do we need in our product to ensure that we can work with different proxy servers. I see that application like Instant messenger and Norton Antivirus allow for proxy setting to be supplied by the user& I have read about using default proxy and cached credentials.
Dim proxy As System.Net.WebProxy = System.Net.WebProxy.GetDefaultProxy
proxy.Credentials = System.Net.CredentialCache.DefaultCredentials
ws.Proxy = proxy
I am having trouble understanding what should be included in our client application, what are different techniques to do the same thing.
So the question&
I am looking for a sample application that shows/describes the best practices of implementing web services to work with proxy servers. I would like to understand why applications like Norton Antivirus have the options to specify proxy settings.