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 / July 2005

Tip: Looking for answers? Try searching our database.

Controlling Web Service Timeout from inside web service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dayblue - 18 Jun 2005 21:23 GMT
I am implementing some web services to support a new standard for my
industry.  Because of the way these web services are defined, there is the
possibility that a large amount of data can be sent in one call.  In some
cases I would want to make sure that the web service timeout is long enough
to run to completion.  In others it may be more beneficial to lower the
timeout so that large blocks of data can't be used.

My question is simply if the web service timeout can be controlled from
inside the web services such that any timeout specified by the calling client
can be overridden?
Signature

dayblue

drb - 01 Jul 2005 20:04 GMT
I have a similar question.  The conclusion I'm coming to is that it's
implemented the way it is in order put the onus on the client - if the client
sends a large chunk of data and doesn't give it enough time to complete, oh
well... it's their foot; they shot themselves, etc.

If you have control over both sides of the wire for your implementation,
consider doing what I think I'm going to do: add an explicit
"requestedTimeout" parameter to the method (with a reasonable default), and
if you decide on the server that too much time is being requested, go ahead
and timeout/return on your own.

But, I'm all ears if anyone else has a better solution!

> I am implementing some web services to support a new standard for my
> industry.  Because of the way these web services are defined, there is the
[quoted text clipped - 6 lines]
> inside the web services such that any timeout specified by the calling client
> can be overridden?

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.