473,320 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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 9076
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jamie Laundon | last post by:
Hi, WebProxy.GetDefaultProxy() has been deprecated in .NET 2.0, what is the preferred new method of retrieving IE Proxy settings? Thanks, Jamie
1
by: Jim Douglas | last post by:
I have a requirement to dynamically create a webProxy object in C#. I have created an instance of the webProxy and stored it within a hashtable then placing the hashtable in cache. When required I...
4
by: Gianluca | last post by:
This is the simplified code I'm trying to generate: ilg.DeclareLocal(typeof(int)); // define local integer Label exit = ilg.DefineLabel(); // define "exit" label ...
5
by: Nick Flandry | last post by:
I'm running into an Invalid Cast Exception on an ASP.NET application that runs fine in my development environment (Win2K server running IIS 5) and a test environment (also Win2K server running IIS...
4
by: Mervin Williams | last post by:
I have several tables involved in my application, but the two in question here are the company and address tables. The company table has business_address_id and mailing_address_id columns, which...
0
by: Matthew Copeland | last post by:
A little background. This is a VB.Net client application , and it uses a web reference to a web service, which has been properly refreshed. My app takes collections of two serializable...
2
by: Sam Santiago | last post by:
I am using the WebProxy.GetDefaultProxy() function to read the IE settings, but it's returning an empty WebProxy object. Are there any known reasons why this is not reading the proxy settings in IE...
7
by: djc | last post by:
I see many ways to accomplish setting up proxy settings for a web request in the documentation but many of them are marked as obsolete. 1) What is the current and correct way to tell all my...
0
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.