Waiting Time for WebService Call Return

S

sendhil

hi all,
I have a Client Calling a WebService.
In the WebService there is a While Loop which runs for 2 min. After
that iam returning some value to the client. This does not work
If the time the While Loop runs is reduced to 1 min or so. It works.

My Question is: Is there a time till which the client waits for the
Webservice to return or something. Shuld i do any setting in the IIS
Server for this.

Please clarify.

Thanks
sendhil
 
S

sendhil

I got the solution for the problem.
For a webrequest the default timeout period is 100 seconds. If we have
to make it wait for infinite time, we have to specify
Timeout.Infinite

Thanks
senhdil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,188
Latest member
Crypto TaxSoftware

Latest Threads

Top