CXF client processes bar() response message when making foo() request
---------------------------------------------------------------------
Key: CXF-2543
URL: https://issues.apache.org/jira/browse/CXF-2543
Project: CXF
Issue Type: Bug
Components: Soap Binding
Affects Versions: 2.1.3
Reporter: Seumas Soltysik
A client makes a String greetMe(String) invocation against a backend server.
Because of a problem in the server, it resonds with a SOAP message
corresponding to a String sayHi() response. The client processes the response
without an error. Here is the schema for the response elements for the two
invocations:
<element name="sayHi">
<complexType/>
</element>
<element name="sayHiResponse">
<complexType>
<sequence>
<element name="responseType" type="string"/>
</sequence>
</complexType>
</element>
<element name="greetMe">
<complexType>
<sequence>
<element name="requestType" type="tns:MyStringType"/>
</sequence>
</complexType>
</element>
<element name="greetMeResponse">
<complexType>
<sequence>
<element name="responseType" type="string"/>
</sequence>
</complexType>
</element>
In discussions with Dan, he suggested that because the child elements of both
the sayHiResponse and the greetMeResonse are the same, then it is quite
possible that sayHiResponse would be accepted in place of a greetMeResponse.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.