I am always RAS'd into MS CorpNet VPN under my REDMOND account.
I am always able to ping "itgproxy.redmond.corp.microsoft.com"
I instantiate a System.Net.WebProxy object as follows:
using System.Net;
string proxyUrl = http://itgproxy.redmond.corp.microsoft.com;
WebProxy proxy = new WebProxy(proxyUrl, true);
MSNSearchService.Proxy = proxy;
I make a web method call to MSNSearchService.Search()
During certain periods of time, this calls always successfully returns
expected result data. During other periods of time, this call always
times-out.
When I'm experiencing the time-outs, purely due to frustration, I've
unsuccessfully tried the following variations on the proxy url :
string proxyUrl = "http://www.itgproxy.redmond.corp.microsoft.com:80;"
string proxyUrl = "http://www.itgproxy.redmond.corp.microsoft.com;"
string proxyUrl = "itgproxy.redmond.corp.microsoft.com;"
All fail.
All of my other code for configuring and calling my web method remains
constant. The proxy url string is the only code I ever change.
John,
Ping is serviced by the TCP/IP stack and is very lightweight. Unless the
machine is dead, it will most likely get a few CPU cycles to process and
respond to the request. The same can't be said for web services. Is there
any way to find out what is happening on the server(s) during the times your
web service calls are failing? If you are able to ping during those times,
it would indicate that something else is consuming resources on the server.
Can you check the event logs to see if the web service is reporting a
failure there?
HTH,
Mike
>I am always RAS'd into MS CorpNet VPN under my REDMOND account.
>
[quoted text clipped - 24 lines]
> All of my other code for configuring and calling my web method remains
> constant. The proxy url string is the only code I ever change.
John A Grandy - 07 Apr 2006 21:52 GMT
But I'm not making web method calls to some rinky dink web service ...
This is MSN Search !
> John,
>
[quoted text clipped - 38 lines]
>> All of my other code for configuring and calling my web method remains
>> constant. The proxy url string is the only code I ever change.
Mike Lewis - 07 Apr 2006 22:13 GMT
The service call is probably timing out, possibly due to load on the server.
It's not an unlimited resource!
> But I'm not making web method calls to some rinky dink web service ...
>
[quoted text clipped - 42 lines]
>>> All of my other code for configuring and calling my web method remains
>>> constant. The proxy url string is the only code I ever change.