Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Accessing Web Service with HTTP status 407: Proxy Access Denied

Thread Tools

Accessing Web Service with HTTP status 407: Proxy Access Denied

Posts: n/a

I'm running an ASPX application "WebApplication1" which
consumes a web service (service1.asmx) hosted on a machine
with IP (128.1.7.x) . The web service is located in the
The web methods can be invoked successfully
if "WebApplication1" is located in machines with the same
subnet (128.1.7.x).
However, it fails if "WebApplication1" is hosted on
machines with IP (128.1.8.x)
When it tries to execute a web method, the aspx page
returns an error of
a page titled "Server Error in '/WebApplication1'
Application.", with the error message "The request failed
with HTTP status 407: Proxy Access Denied."

[WebException: The request failed with HTTP status 407:
Proxy Access Denied.]

System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadRe
sponse(SoapClientMessage message, WebResponse response,
Stream responseStream)

System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke
(String methodName, Object[] parameters)

However, the proxy server setting has already been
disabled in the internet options.
If I type the web service's URL
(http://xxx.../service1.asmx) in IE, the wsdl page can be
displayed successfully.

Please notice that the error message is "Proxy Access
Denied" but NOT "Proxy authentication required" which will
be returned if the client is accessing through a proxy
server without the right credentials.
And my system administrator has confirmed with me that the
application did not access the proxy.
Therefore, I did not set the Proxy property of the web
service too.
(I've tried out earlier to set the Proxy with a wrong
credential and got that "Proxy Authentication required"

All machines are running on Win2K SP4 with .NET Framework

Any help will be appreciated! Thank you!


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing Web Service with HTTP status 407: Proxy Access Denied George ASP .Net 1 02-06-2010 08:25 AM
HTTP status 401: Access Denied Patrick.O.Ige ASP .Net Web Services 2 03-12-2007 10:21 AM
The request failed with HTTP status 401: Access Denied ASP .Net Web Services 1 03-22-2006 10:28 PM
403 Forbidden: You were denied access because: Access denied by access control list Southern Kiwi NZ Computing 6 03-19-2006 05:19 AM
The Request Failed with HTTP Status 401: Access Denied James ASP .Net Web Services 1 12-09-2003 11:37 PM