Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / April 2006

Tip: Looking for answers? Try searching our database.

WebProxy url : web method call intermittently failing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John A Grandy - 07 Apr 2006 19:50 GMT
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.
Mike Lewis - 07 Apr 2006 20:08 GMT
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.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.