Time-out waiting for response from webservice

Time-out waiting for response from webservice

Post by Shawn Lipsco » Thu, 10 Apr 2003 02:47:23



In a C# web application, I try to tap a webservice.  The C# web
application and the webservice are on the same web server (running
IIS).

The webservice completes its task, but the C# web application, after
about a minute, throws the following exception:  "The operation has
timed-out." (more at bottom of this message).  I can tap the
webservice successfully from a standalone app running on a different
machine and get the expected response.

I have seen lots of references to this timeout in this group, but no
solutions.  Does anyone know what's causing it and, more importantly,
how to fix it?

------------------------------
The operation has timed-out.
...

Stack Trace:

[WebException: The operation has timed-out.]
   System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest
request) +76
   System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest
request) +5
   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters) +183
   ...
------------------------------

Thanks in advance,
Shawn Lipscomb

 
 
 

1. webservices how long waiting time.

Depending upon the information being processed at the web service level, and
the amount of information being sent back (complex or primary data type),
you should probably plan on seconds for open Internet web services.

Don't forget that you should also put exception code in your web service
consumer code to account for the possibility that the web service call may
timeout (or be unavailable).

--
Doug Thews
Director, Software Development
divine Managed Services

2. MSQL port to OS/2

3. Webservice consummation issue from an pocketPC .net SDE program : abnormal time before the response is get

4. Fitness Dairy.... Software

5. Minimum Wait Time (System Time Resolution)

6. Sub Webs and Themes vs. Templates

7. sqldatareader.fill(Dataset) and SQL Time outs

8. Form authentification problems. (Time outs)

9. ASP .NET session time outs

10. Licensing, Time-outs and Key-codes...

11. Form authentification problems. (Time outs)

12. WebRequest (in a loop) to AUTHORIZE.NET - running into time-outs