title: Web Service -Timeouts on the implementation side
body: <p>I am calling a Web Service and i want it to respond within 5 seconds. If it can't process it in 5 secs (ignoring network latency) i want it rollback the transaction and send me a Timeout exception.</p>
  
  <p>I can see timeouts being set only on the Calling Client's code. I want this to be enforced by the Web Service Implementer (Server side). I can't seem to find any way to do this.</p>
  
  <p>If i timeout by specifying the timeout in the client side, the server would likely go ahead and complete the transaction. I would not even know whether the original request was successful or if it encountered any errors as it timed out before the server finished processing of the request.</p>
  
  <p>I am using Java client talking to a WS implemented by a EJB.
  Appreciate any inputs.</p>
  
  <p>Thanks,
  Manglu</p>