Extend Web Services Time-Out

Discussion in 'ASP .Net Web Services' started by Mitja Semolic, Feb 28, 2006.

  1. How do I extend a WebService time-out, server-side or client-side?

    Thanks
    Mitja Semolic
     
    Mitja Semolic, Feb 28, 2006
    #1
    1. Advertising

  2. Mitja Semolic

    Josh Twist Guest

    Well... both.

    Server-side: ASP.NET will only allow the web method to process for the
    time specified in the executionTimeout setting in the web.config
    (inherits from the machine's setting's in the root config file if not
    specified):
    http://msdn.microsoft.com/library/d...-us/cpgenref/html/gngrfhttpruntimesection.asp.

    Client-side: The client web service proxy will also have a default
    timeout but this can easily be changed programmatically using the
    Timeout property (inherited from SoapHttpClientProtocol):
    http://msdn.microsoft.com/library/d...-us/cpgenref/html/gngrfhttpruntimesection.asp

    e.g.

    MyServiceProxy.Timeout = 60000 // 1 minute

    Josh
    http://www.thejoyofcode.com/
     
    Josh Twist, Feb 28, 2006
    #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. =?Utf-8?B?R3JhY2U=?=

    How to extend running time for Web Application?

    =?Utf-8?B?R3JhY2U=?=, Feb 4, 2005, in forum: ASP .Net
    Replies:
    6
    Views:
    4,645
    Aquila Deus
    Feb 14, 2005
  2. JT
    Replies:
    5
    Views:
    366
  3. flamesrock
    Replies:
    8
    Views:
    485
    Hendrik van Rooyen
    Nov 24, 2006
  4. John
    Replies:
    4
    Views:
    460
  5. Sriram Mallajyosula

    Operation time out while debugging XML web services

    Sriram Mallajyosula, Feb 28, 2007, in forum: ASP .Net Web Services
    Replies:
    7
    Views:
    235
    Steven Cheng[MSFT]
    Mar 5, 2007
Loading...

Share This Page