For some reason this is not working for me, I keep getting 407.
System.Net.IWebProxy proxyObject = new System.Net.WebProxy(proxyUrl,
false, null);
System.Net.NetworkCredential cred = new System.Net.NetworkCredential();
cred.UserName = @"domain\\uname";
cred.Password = "pass";
CredentialCache cc = new CredentialCache();
cc.Add(new Uri("http://192.168.1.100"), "NTLM", cred);
cc.Add(new Uri("http://192.168.1.100"), "Digest", cred);
cc.Add(new Uri("http://192.168.1.100"), "Basic", cred);
proxyObject.Credentials = cc;
theWS.Proxy = proxyObject;
theWS.PreAuthenticate = true;
but this gives me a 407 error. Any ideas?
Sam Santiago wrote:
Can anyone provide some guidance, example, and/or links for configuring
a client behind an authenticated proxy to access a web service via the
Internet?
Thanks,
Sam
--
_______________________________
Sam Santiago
ss*******@n0spam-SoftiTechture.com
<mailto:ss*******@n0spam-SoftiTechture.com>
http://www.SoftiTechture.com
_______________________________