[jbossws-issues] [JBoss JIRA] Created: (JBWS-2184) SOAP 1.2 Endpoint - Faults Marshalled as SOAP 1.1

Darran Lofthouse (JIRA) jira-events at lists.jboss.org
Fri May 16 10:18:22 EDT 2008


SOAP 1.2 Endpoint - Faults Marshalled as SOAP 1.1
-------------------------------------------------

                 Key: JBWS-2184
                 URL: http://jira.jboss.com/jira/browse/JBWS-2184
             Project: JBoss Web Services
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: jbossws-native
    Affects Versions: jbossws-2.0.1.SP2
            Reporter: Darran Lofthouse
         Assigned To: Darran Lofthouse
             Fix For:  jbossws-native-3.0.3


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>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list