Controlling Web Service Timeout from inside web service

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default Controlling Web Service Timeout from inside web service

    I am implementing some web services to support a new standard for my
    industry. Because of the way these web services are defined, there is the
    possibility that a large amount of data can be sent in one call. In some
    cases I would want to make sure that the web service timeout is long enough
    to run to completion. In others it may be more beneficial to lower the
    timeout so that large blocks of data can't be used.

    My question is simply if the web service timeout can be controlled from
    inside the web services such that any timeout specified by the calling client
    can be overridden?
    --
    dayblue
    dayblue Guest

  2. Similar Questions and Discussions

    1. Web service call timeout
      We have two web service machines. Call one WS1 and the other WS2. They are seperated by a firewall. WS1 handles web service calls and also calls web...
    2. Web Service TimeOut
      Hi, sergio! Mayble x.TimeOut = Int.MaxValue; ? smv> The code is very simple: smv> dim X as new localhost.WebService smv> x.Method smv>...
    3. Controlling HHTP headers of Web Service
      My application uses a Web service that can return a very large data result. In some cases, the data returned from the Web service could be 25MB or...
    4. Web Service and a Timeout issue???
      Hi Can you control a web service's lifetime? Is there a timeout property that can be set I would like to abort the web service consumer if the...
    5. Web service sessions never go away after timeout
      I have a problem with an intranet web service (that I developed using VS.NET 2003) which under some conditions causes the service to hang, resulting...
  3. #2

    Default RE: Controlling Web Service Timeout from inside web service

    I have a similar question. The conclusion I'm coming to is that it's
    implemented the way it is in order put the onus on the client - if the client
    sends a large chunk of data and doesn't give it enough time to complete, oh
    well... it's their foot; they shot themselves, etc.

    If you have control over both sides of the wire for your implementation,
    consider doing what I think I'm going to do: add an explicit
    "requestedTimeout" parameter to the method (with a reasonable default), and
    if you decide on the server that too much time is being requested, go ahead
    and timeout/return on your own.

    But, I'm all ears if anyone else has a better solution!

    "dayblue" wrote:
    > I am implementing some web services to support a new standard for my
    > industry. Because of the way these web services are defined, there is the
    > possibility that a large amount of data can be sent in one call. In some
    > cases I would want to make sure that the web service timeout is long enough
    > to run to completion. In others it may be more beneficial to lower the
    > timeout so that large blocks of data can't be used.
    >
    > My question is simply if the web service timeout can be controlled from
    > inside the web services such that any timeout specified by the calling client
    > can be overridden?
    > --
    > dayblue
    drb Guest

Posting Permissions

  • You may not post new threads
  • You may 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