Yasser Shohoud [MS]
12/6/2002 10:00:00 PM
You can set the executionTimeout using the <httpRuntime> element in
machine.config or web.config:
<httpRuntime useFullyQualifiedRedirectUrl="true|false"
maxRequestLength="size in kbytes"
executionTimeout="seconds"
minFreeThreads="number of threads"
minFreeLocalRequestFreeThreads="number of threads"
appRequestQueueLimit="number of requests" />
But it sounds like the client should timeout not the service.
--
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"DT" <tzau@hotmail.com> wrote in message
news:23129611.0211261821.518b6104@posting.google.com...
> Is there any way to force a web service request
> to timeout on the server side?
>
> Basically, I'd like the consumer of this web service
> to catch this as an exception and display an appropriate
> message after (x seconds). I don't want the user to wait.
> It's a java client consuming a .Net web service.
>
> Thanks