Professional Web Applications Themes

Asynchronous web service calls, will you still have timeouts - ASP.NET Web Services

If I am calling web services asynchronously, will I still have to be concerned with the request timing out? If IIS starts a process (calling a web service) and it goes off and takes 30 minutes to do something (exaggeration), will there be a timeout? Thanks. Norton...

  1. #1

    Default Asynchronous web service calls, will you still have timeouts

    If I am calling web services asynchronously, will I still have to be
    concerned with the request timing out? If IIS starts a process (calling a
    web service) and it goes off and takes 30 minutes to do something
    (exaggeration), will there be a timeout?

    Thanks.

    Norton


    Norton Guest

  2. #2

    Default Re: Asynchronous web service calls, will you still have timeouts

    It depends on the client as well as the timeout setting on the proxy class.
    If the client is a Windows client then in theory, a 30 minute timeout will
    not be a problem. If the client is a Web form then this will almost
    certainly be a problem because although the call is asynchronous, it must
    return before a response can be sent back to the client. There is an
    alternative: if you use the DHTML Web behavior, which makes Web service
    calls directly from client-side script, then these calls are truly
    asynchronous, and you can use the Web page while waiting for the response. I
    have used this behavior extensively. It is not suitable for all purposes,
    but is especially good for validation-oriented Web service calls.

    Jeffrey Hasan, MCSD
    President, Bluestone Partners, Inc.
    -----------------------------------------------
    Author of: Expert SOA in C# Using WSE 2.0 (APress, 2004)
    [url]http://www.bluestonepartners.com/soa.aspx[/url]


    "Norton" <thenortonzhotmail.com> wrote in message
    news:eJRdvGpdEHA.3792TK2MSFTNGP09.phx.gbl...
    > If I am calling web services asynchronously, will I still have to be
    > concerned with the request timing out? If IIS starts a process (calling a
    > web service) and it goes off and takes 30 minutes to do something
    > (exaggeration), will there be a timeout?
    >
    > Thanks.
    >
    > Norton
    >
    >

    Jeffrey Hasan Guest

Similar Threads

  1. Web service calls asynchronous vs synchronous
    By J_Master in forum Macromedia Flex General Discussion
    Replies: 0
    Last Post: February 16th, 05:39 PM
  2. handling exceptions in asynchronous web service calls
    By Doug Perkes in forum ASP.NET Web Services
    Replies: 1
    Last Post: August 9th, 09:45 PM
  3. Asynchronous web service calls
    By Russell Mason in forum ASP.NET Web Services
    Replies: 3
    Last Post: August 5th, 03:09 PM
  4. Replies: 1
    Last Post: February 12th, 12:37 PM
  5. Timeouts for blocking calls
    By Steven Farlie in forum PHP Development
    Replies: 1
    Last Post: September 11th, 08:50 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139