开发者

ASP .Net WebService

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜