469,636 Members | 1,544 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,636 developers. It's quick & easy.

Proxy authenticated required

Hi

I am trying to call a web service from behind a MS ISA Server on a sbs2003
machine. The calling program is coming up with this error; The request
failed with HTTP status 407: Proxy Authentication Required ( The ISA Server
requires authorization to fulfil the request. Access to the Web Proxy
service is denied. ).

Any idea how I can provide the proxy authentication within the vb.net code
when calling the web service?

Thanks

Regards
Nov 23 '05 #1
1 25256
John

Create a WebProxy instance and give it the name of your proxy server and a
NetworkCredentials instance.

Set the webservice.Proxy property equal to your web proxy instance.

Sorry, C# only example.

NetworkCredential nc = new NetworkCredential( "hsimpson", "duffbeer",
"homersdomain" );
WebProxy proxy = new WebProxy( "http//webproxyserver:80" );
proxy.Credentials = nc;
MyWebService mws = new MyWebService();
mws.Proxy = proxy;

Glenn

"John" <Jo**@nospam.infovis.co.uk> wrote in message
news:uM**************@TK2MSFTNGP09.phx.gbl...
Hi

I am trying to call a web service from behind a MS ISA Server on a sbs2003
machine. The calling program is coming up with this error; The request
failed with HTTP status 407: Proxy Authentication Required ( The ISA Server requires authorization to fulfil the request. Access to the Web Proxy
service is denied. ).

Any idea how I can provide the proxy authentication within the vb.net code
when calling the web service?

Thanks

Regards

Nov 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by davidcbrown | last post: by
1 post views Thread by John | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.