-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
jbossws-2.0.1.SP2
-
None
For a JAX-WS endpoint deployed with a @BindingType to specify SOAP 1.2 the request and response are marshalled as SOAP 1.2, however faults are marshalled as SOAP 1.1 e.g.
Request: -
<env:Envelope xmlns:env='http://www.w3.org/2003/05/soap-envelope'>
<env:Header/>
<env:Body>
<ns3:lookup xmlns:ns2='http://www.jboss.org/support/phonebook/types' xmlns:ns3='http://www.jboss.org/support/phonebook'>
<ns2:arg0>
<firstName>Darran</firstName>
<surname>Lofthouse</surname>
</ns2:arg0>
</ns3:lookup>
</env:Body>
</env:Envelope>
Response: -
<env:Envelope xmlns:env='http://www.w3.org/2003/05/soap-envelope'>
<env:Header/>
<env:Body>
<ns3:lookupResponse xmlns:ns2='http://www.jboss.org/support/phonebook/types' xmlns:ns3='http://www.jboss.org/support/phonebook'>
<ns2:return>
<areaCode>12345</areaCode>
<number>123456</number>
</ns2:return>
</ns3:lookupResponse>
</env:Body>
</env:Envelope>
Fault: -
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<faultcode>env:Server</faultcode>
<faultstring>Oops!</faultstring>
<detail>
<ns2:PhoneBookException xmlns:ns2='http://www.jboss.org/support/phonebook'>
<message>Oops!</message>
</ns2:PhoneBookException>
</detail>
</env:Fault>
</env:Body>
</env:Envelope>
- duplicates
-
JBWS-2234 SOAP 1.2 Endpoint sends SOAP 1.1 messages
- Closed