473,586 Members | 2,792 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Accessing Web Service with HTTP status 407: Proxy Access Denied

Hello,

I'm running an ASPX application "WebApplication 1" which
consumes a web service (service1.asmx) hosted on a machine
with IP (128.1.7.x) . The web service is located in the
intranet.
The web methods can be invoked successfully
if "WebApplication 1" is located in machines with the same
subnet (128.1.7.x).
However, it fails if "WebApplication 1" 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.Serv ices.Protocols. SoapHttpClientP rotocol.ReadRe
sponse(SoapClie ntMessage message, WebResponse response,
Stream responseStream)

System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.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"
message)

All machines are running on Win2K SP4 with .NET Framework
1.0

Any help will be appreciated! Thank you!

Regards,
George

Nov 17 '05 #1
0 2623

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

Similar topics

3
1514
by: dbradley | last post by:
Hi, I am trying to access a webservice using VC++.Net. When I try and add a webservice using Project/Add Webservice I get to messages: "No Web References were found on this page" and "the request failed with HTTP status 407:Proxy Access Denied" Can anybody "baby step" me through the procedure I need to follow in order to remedy this...
1
1373
by: dbradley | last post by:
Hi, I am trying to access a webservice using VC++.Net. When I try and add a webservice using Project/Add Webservice I get to messages: "No Web References were found on this page" and "the request failed with HTTP status 407:Proxy Access Denied" Can anybody "baby step" me through the procedure I need to follow in order to remedy this...
2
1875
by: Edward W. | last post by:
I wrote my web service and I have no problem browsing to the asmx file and seeing the public methods. I can even invoke them with no problem. But in my asp.net application I get this error message "The request failed with HTTP status 401: Access Denied. " BUT when I add this line to my code it works fine. gsdiApplication gsdiWebService...
3
7761
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 that will be useful in diagnosing the problem. I have an application which calls a method of a web service that we host remotely. I have deployed...
0
3583
by: John Bown | last post by:
This query is similar to some others on this discussion group, but none of them were resolved! Can anybody help: The issue is related to integrated authentication. First I'll describe a simple scenario not involving ISA server, which works as expected: The web service is hosted on a server in the same domain as my workstation with...
0
2662
by: TheNortonZ | last post by:
I have a web service that will be used internally to our company that is setup for integrated security. I connect to it on my local machine like this: WeatherClient.localhost.WeatherService svc = new Weatherclient.localhost.WeatherService(); svc.Credentials = System.Net.CredentialCache.DefaultCredentials; WeatherData info =...
0
2612
by: lpinho | last post by:
Hi There, I've generated a C# file from a wsdl file using wsdl.exe utility. Then I created a console application and made a call to the method generated, first I got the error: "The request failed with HTTP status 407: Proxy Access Denied." Then I added a proxy validating and proxy credentials and got this:
0
1945
by: clarkemi | last post by:
Have implemented: protected override WebRequest GetWebRequest(Uri uri) { HttpWebRequest request = (HttpWebRequest) base.GetWebRequest(uri); request.KeepAlive = false; return request; } When making a call to the web service through a proxy server receive HTTP status 407 error. Have specified default proxy and default credentials.
4
4453
by: Jon | last post by:
I wrote a VS 2005 C# express programme that accesses a web service. It works fine when there's a direct connection to the internet, but on two different PCs with internet access via a proxy, I get this exception: System.Net.WebException: The request failed with HTTP status 407: Proxy Authentication Required. at...
0
7908
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7836
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8336
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6606
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5389
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3835
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2343
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1447
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.