Waiting Time for WebService Call Return

Discussion in 'ASP .Net Web Services' started by sendhil, Dec 7, 2003.

  1. sendhil

    sendhil Guest

    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
     
    sendhil, Dec 7, 2003
    #1
    1. Advertising

  2. sendhil

    sendhil Guest

    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


    (sendhil) wrote in message news:<>...
    > 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
     
    sendhil, Dec 7, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Cyril
    Replies:
    2
    Views:
    4,510
    Cyril
    Jun 1, 2006
  2. flamesrock
    Replies:
    8
    Views:
    470
    Hendrik van Rooyen
    Nov 24, 2006
  3. René Preußler

    Asynchronous Call of WebService method within a WebService

    René Preußler, Oct 29, 2008, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    198
    René Preußler
    Oct 29, 2008
  4. PerlFAQ Server
    Replies:
    0
    Views:
    153
    PerlFAQ Server
    Jan 24, 2011
  5. PerlFAQ Server
    Replies:
    0
    Views:
    120
    PerlFAQ Server
    Feb 20, 2011
Loading...

Share This Page