473,382 Members | 1,165 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 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 21 '05 #1
1 1770
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 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ray Slakinski | last post by:
Hello, I have defined a function to set an opener for urllib2, this opener defines any proxy and http authentication that is required. If the proxy has authencation itself and requests an...
3
by: Soul | last post by:
Hi, I am learning to code a WinForm application which will need to access a Web Service outside the University network. Our University require us to go through a proxy in order to access the...
3
by: Wild Wind | last post by:
Hello all, I apologise in advance for the long windedness of this post, but I feel that if I am going to get any solution to this problem, it is important that I present as much information...
1
by: John | last post by:
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...
4
by: Sam Santiago | last post by:
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 -- ...
2
by: rcp | last post by:
Hi all, I've read all posts from all existing threads and none of them worked to solve my problem, although its exactly the same. I'll try to explain my case and see if a kind soul could help me...
1
by: JohnH | last post by:
Hi, In my application which has two or more threads calling web service or just HttpWebRequest I am seeing some HTTP 400 errors retrun in the response. All the calls are going through the same ISA...
7
by: chandru1782 | last post by:
Dear friends, I am trying to use CPAN for installing some perl modules. i am using a ubuntu system, which has internet connection through lan and authenticated proxy. when trying to install...
2
by: =?Utf-8?B?TGVuc3Rlcg==?= | last post by:
A C# (.NET 2) application which uses the System.Net.HttpWebRequest object to request a resource over HTTPS is failing following the installation of a new proxy server on our internal network with...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.