Which timeout are you looking for?
There are 2 actually.
One on a server which makes sure that your WebService method is not running
forever and will be aborted if exceeds some time.
I do not see Timeout property in WebService class.
http://msdn.microsoft.com/en-us/libr...e_members.aspx
You can set/change this time out in web.config See: <httpRuntime
executionTimeout="..."/>
Another one is on a client which makes sure that your client is not waiting
forever for WebService to reply...
The class is actually called SoapHttpClientProtocol and it has a Timeout
property.
George.
"Simon" <> wrote in message
news:AA49BA92-31ED-45CF-85FC-...
>I would like to know how to set the timeout for
>System.Web.Services.WebService class (from which my web service is
>derived)? According to documentation there should be Timeout property, but
>I can not find this property.
>
> Best regard
>
> Simon