469,908 Members | 2,219 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

WebProxy url : web method call intermittently failing

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.

Apr 7 '06 #1
3 8905
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
"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:Os**************@TK2MSFTNGP03.phx.gbl...
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.


Apr 7 '06 #2
But I'm not making web method calls to some rinky dink web service ...

This is MSN Search !

"Mike Lewis" <mi********@lgeenergy.no_spam.com> wrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
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
"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:Os**************@TK2MSFTNGP03.phx.gbl...
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.



Apr 7 '06 #3
The service call is probably timing out, possibly due to load on the server.
It's not an unlimited resource!

"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:uZ**************@TK2MSFTNGP05.phx.gbl...
But I'm not making web method calls to some rinky dink web service ...

This is MSN Search !

"Mike Lewis" <mi********@lgeenergy.no_spam.com> wrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
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
"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:Os**************@TK2MSFTNGP03.phx.gbl...
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.




Apr 7 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Jamie Laundon | last post: by
1 post views Thread by Jim Douglas | last post: by
4 posts views Thread by Gianluca | last post: by
5 posts views Thread by Nick Flandry | last post: by
4 posts views Thread by Mervin Williams | last post: by
reply views Thread by Matthew Copeland | last post: by
2 posts views Thread by Sam Santiago | last post: by
reply views Thread by dan kisting | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.