2017-03-29 36 views
0

SOAP/JMS是否需要在单向通信中处理故障消息? 在HTTP中很简单,我们在发送req后有HTTP状态码和响应。 JMS呢? 我的意思是让我们考虑一下下面的简化在WSDL绑定:SOAP/JMS是否应该始终处理错误?

<wsdl:binding> 
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/jms"/> 
    <wsdl:operation name="ala"> 
     <soap:operation soapAction="" style="document"/> 
     <wsdl:input name="ala"/> 
    <wsdl:operation/> 
    <soap:binding/> 
<wsdl:binding/> 

在这种情况下确实需要SOAP由客户与可选的故障(这可能经常发生)的响应消息等待?或者该场景/通信协议不支持SOAP Fault,并且符合标准?

回答