WebService请求成功,但响应最佳设计原则失败



假设"Application1"要向银行系统发出Web服务调用并更新一条记录。可能会出现Http请求成功并按照预期方式更新银行数据库的情况。但响应失败可能是由于通信错误。

Results : As the "Application1" has not received the response, it assumes that DB has not updated.
Possible Solution.
1. There will be a TimeOutException from the "Application1". Then make a  DBQuery check the record is updated or not inside the exception block. If it has not re-try it.
1. What happens if all re-tries does not receive the reponse. 
2. I see some theories related to Web Service Transaction , Service Ochastration. 
Any other better solutions. ?

更好的解决方案是使用消息传递系统。在您的情况下,WebService在性能方面将是昂贵的。

最新更新