SOAP response version mismatch with SwitchYard SOAP binding
Issue
- Our application needs to support SOAP versions 1.1 and 1.2. In a support case Red Hat suggested that a SOAP 1.2 endpoint would be backward compatible with SOAP 1.1, and that is true.
- The problem we just realised is that when submitting a SOAP 1.1 request, if the response is not a SOAP fault then it is a SOAP 1.2 response. If it is a fault, it is a SOAP 1.1 response.
- If we send a SOAP 1.1 request through we expect to get a SOAP 1.1 response back, regardless of the operation result. We should assume that a client sending a SOAP 1.1 request does not understand SOAP 1.2, so we would like the client not to get confused by our response.
Environment
- Red Hat JBoss Fuse Service Works (FSW)
- 6.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.