470,811 Members | 1,323 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,811 developers. It's quick & easy.

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 1629

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Bill Hauver | last post: by
reply views Thread by JTowns | last post: by
reply views Thread by dan kisting | last post: by
reply views Thread by Albertas | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.