472,145 Members | 1,425 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,145 software developers and data experts.

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 25489
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 Saiars | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.