I have built a client which can successfully talk to a 3rd party web service
over HTTPS. All of this works great on my laptop when I am working from home
(and thus not connected to the internet through my corporate network).
However, when I go into the office, with this same laptop, everyone must use
a firewall proxy to access anything on the WAN. I've tried all kinds of
programmatic tricks to supply valid firewall credentials for my web service,
but it failes to connect.
I have also tried the overrides to my web-service proxy object which altars
the KeepAlive and HttpRequsestVersion, with no further success.
Example Code:
IWebProxy proxy = new WebProxy("http://firewallProxy.example.com", true);
proxy.Credentials = new
NetworkCredential(txtFirewallUserName.Text,txtFire wallPassword.Text);
webServiceObject.Proxy = proxy;
webServiceObject.Credentials = new
NetworkCredential(txtWebServiceUsername.Text,txtWe bServicePassword.Text);
webServiceObject.DoSomeFunctionNow();
***************
Any help is much appreciated!
Thanks,
Brian