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 / August 2004

Tip: Looking for answers? Try searching our database.

Asynchronous web service calls, will you still have timeouts

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Norton - 31 Jul 2004 01:02 GMT
If I am calling web services asynchronously, will I still have to be
concerned with the request timing out? If IIS starts a process (calling a
web service) and it goes off and takes 30 minutes to do something
(exaggeration), will there be a timeout?

Thanks.

Norton
Jeffrey Hasan - 03 Aug 2004 07:36 GMT
It depends on the client as well as the timeout setting on the proxy class.
If the client is a Windows client then in theory, a 30 minute timeout will
not be a problem. If the client is a Web form then this will almost
certainly be a problem because although the call is asynchronous, it must
return before a response can be sent back to the client. There is an
alternative: if you use the DHTML Web behavior, which makes Web service
calls directly from client-side script, then these calls are truly
asynchronous, and you can use the Web page while waiting for the response. I
have used this behavior extensively. It is not suitable for all purposes,
but is especially good for validation-oriented Web service calls.

Jeffrey Hasan, MCSD
President, Bluestone Partners, Inc.
-----------------------------------------------
Author of: Expert SOA in C# Using WSE 2.0 (APress, 2004)
http://www.bluestonepartners.com/soa.aspx

> If I am calling web services asynchronously, will I still have to be
> concerned with the request timing out? If IIS starts a process (calling a
[quoted text clipped - 4 lines]
>
> Norton

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.