Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5009

Allow multiple subcodes in a SOAP 1.2 fault

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      Currently CXF only allows one subcode to be set via in a SoapFault object, but the SOAP 1.2 spec allows nested subcodes like so:

      <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
        <soap:Body>
          <soap:Fault>
            <soap:Code>
              <soap:Value>soap:Receiver</soap:Value>
              <soap:Subcode>
                <soap:Value xmlns:ns1="http://ws.gss.redhat.com/">ns1:Error</soap:Value>
                <soap:Subcode>
                  <soap:Value xmlns:ns1="http://ws.gss.redhat.com/">ns1:Failure</soap:Value>
                </soap:Subcode>
              </soap:Subcode>
            </soap:Code>
            <soap:Reason>
              <soap:Text xml:lang="en">Error by Failure</soap:Text>
            </soap:Reason>
          </soap:Fault>
        </soap:Body>
      </soap:Envelope>
      

      Attachments

        Issue Links

          Activity

            People

              ay Akitoshi Yoshida
              klape Kyle Lape
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: