cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aki Yoshida (JIRA)" <>
Subject [jira] [Created] (CXF-4794) Soap 1.1 service returns an invalid soap fault for soap 1.2 requests
Date Wed, 30 Jan 2013 14:23:13 GMT
Aki Yoshida created CXF-4794:

             Summary: Soap 1.1 service returns an invalid soap fault for soap 1.2 requests
                 Key: CXF-4794
             Project: CXF
          Issue Type: Bug
          Components: Soap Binding
    Affects Versions: 2.7.2
            Reporter: Aki Yoshida
            Assignee: Aki Yoshida

The soap 1.1 endpoint (i.e., soap 1.2 binding not enabled) is supposed to returns a soap fault
when a soap 1.2 message is received. The fault is correctly raised, however, the returned
fault message is inconsistent and has the soap 1.2 fault containing the soap 1.1 fault content,

<soap:Envelope xmlns:soap="">
      <faultcode xmlns:ns1="">ns1:VersionMismatch</faultcode>
      <faultstring>A SOAP 1.2 message is not valid when sent to a SOAP 1.1 only endpoint.</faultstring>

This will lead to problems at most soap clients (including CXF which gets an NPE), as the
fault code is not found at the expected element.

We can fix this by returning either the soap 1.1 fault or the soap 1.2 fault. The client that
sent the soap 1.2 request message obviously understands both soap 1.2 and 1.1, it is not clear
whether the service must return the soap 1.1 message or may return the message of the same
version as the request message, in this case, the soap 1.2 message.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message