472,958 Members | 1,669 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Web Service call through Webproxy (bypass doesn't work)


we call a web service in an intranet environment. The target host is
bypassed as of the IE setting. We retrieve the system proxy settings through
"myService.Proxy = WebRequest.GetSystemWebProxy()". The host is in the
isBypassed list of the proxy object. The proxy credentials are the default
credentials of the login account (DefaultCredentials) and this account is
able to browse to the web service via IE.
But when we want to connect to the web service on this host the web proxy is
still queried. The whole request is cancelled due to authentication problems
on the web proxy.
If we set the "myService.Proxy = null" the request also didn't work (proxy
authentication required).
It only works when we use

<proxy usesystemdefault="False"/>

in the app settings.

Does somebody know whats the problem with setting the web proxy through
code? Why is the proxy queried even if the target host is in the bypass list?
Do we miss something here?
Jun 1 '06 #1
0 1892

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

Similar topics

by: Bill Hauver | last post by:
I am attempting to use a web service from my work pc which is behind a firewall. I have used wsdl.exe to create the web service reference class and added it to my project. (this seems to work...
by: Clint | last post by:
Hey all - I'm having a really confusing problem concerning a web service. Right now, I have an application that needs to call a web service that does nothing but return "true" (this will...
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...
by: webserviceUser189 | last post by:
Hi, I'm trying to authenticate the user based on the credentials that I get from the client app, but I'm getting empty string as user name. Can somebody tell me if I'm doing anything wrong here....
by: JTowns | last post by:
Hi, all I have a problem of the following kind. There's a remote server that can be accessed via HTTPS (say, https://remoteserver). This server doesn't allow anonymous users, so I have to...
by: dan kisting | last post by:
Hello, I am not sure what is wrong, but here is what is going on: I have a small Web Proxy server running to test real users using a proxy. It is a basic one c#, seems to work. In my test...
by: Albertas | last post by:
What I'm doing wrong that I can't make my authentication to work. Here is the situation: I'm hosting a Web Service from a Windows forms application, using .NET Framework 3.0 WCF. And I want to...
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...
by: paulsteinway | last post by:
Hello, I have a desktop application writen in VB.NET. I am trying to call a web service through a proxy server. I can make the call without the proxy server, but the web server has IP filtering...
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.