Groups | Blog | Home
all groups > asp.net webservices > july 2006 >

asp.net webservices : ...The ISA Server requires authorization to fulfill the request...



Craig Buchanan
7/27/2006 7:59:07 AM
I recently published a web service that works on my workstation to my ISP.
I have no authenication restrictions on the site, nor do i have restricitons
on the web service itself (<authentication mode="None"/>). I am behind a
corporate firewall, however.

In the process of changing the test harness' WebReferences to use the
newly-published webservice, I get an authentication dialog, which responds
to my ISP credentials, rather than my corporate credentials. Moreover, when
I try to run the harness, it fails with a message that reads:

The request failed with HTTP status 407: Proxy Authentication Required ( The
ISA Server requires authorization to fulfill the request. Access to the Web
Proxy filter is denied. ).

What setting is (or lack of a setting) is causing this authentication
request?

Thanks for your time,

Craig Buchanan

Craig Buchanan
7/27/2006 10:51:34 AM
Found my solution:

Needed to add code to connect to our corporate firewall.

Dim proxy As WebProxy = New WebProxy("proxy.company.com:80")
proxy.Credentials = CredentialCache.DefaultCredentials
Dim _Service As MyWebservice = new MyWebservice()
_Service.Proxy = proxy

[quoted text, click to view]

AddThis Social Bookmark Button