On the client side, just set the Timeout property on your webservice class.
The following example would set the timeout to something pretty high like
five min - I normally set most of mine to 30 sec, 10 min when debugging.
e.g. oWebService.Timeout = 300000; // five min in ms
If I submit a long running task, I kick off the task and check back
periodically to see if it has finished.
Tony
> Hi,
>
[quoted text clipped - 12 lines]
> Regards
> Satish
Satish - 13 Feb 2006 03:47 GMT
Tony,
Thank you for suggestion, we have got the solution for this problem.
if we write the following code we wont get timeout error at all.
ws.Timeout = System.Threading.Timeout.Infinite
Regards
Satish
> On the client side, just set the Timeout property on your webservice class.
> The following example would set the timeout to something pretty high like
[quoted text clipped - 23 lines]
> > Regards
> > Satish
Simon Hart - 14 Feb 2006 13:05 GMT
You might want to consider using Asynchronous Web Service calling if your
not doing so already...
> Tony,
>
[quoted text clipped - 35 lines]
>> > Regards
>> > Satish