What happens if the webservice gets time out before the client actually gets the response.what happens if the client retries to call the webservice function before it gets the response for the previ开发者_如何学Goous call because of time out.
The answer depends on which SOAP client you are using, however most of them will throw some type of exception if a timeout occurs, and they usually do not automatically retry on timeout.
Webservice requests are asynchronous, so a retry (although it won't on its own) will initiate a different thread/process, which might create undesirable issues as far as business logic is concerned. If the webservice times out before the client receives the response, it will throw a timeout error to the client.
精彩评论