[
https://issues.apache.org/jira/browse/CXF-5009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kyle Lape updated CXF-5009:
---------------------------
Summary: Allow multiple subcodes in a SOAP 1.2 fault (was: Allow multiple
subcodes in a SOAP fault)
> Allow multiple subcodes in a SOAP 1.2 fault
> -------------------------------------------
>
> Key: CXF-5009
> URL: https://issues.apache.org/jira/browse/CXF-5009
> Project: CXF
> Issue Type: Bug
> Components: Soap Binding
> Reporter: Kyle Lape
>
> 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:
> {code:xml}
> <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>
> {code}
--
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: http://www.atlassian.com/software/jira