[ 
https://issues.apache.org/jira/browse/CXF-5009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aki Yoshida resolved CXF-5009.
------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0
                   2.7.6
                   2.6.9
                   2.5.11
    
> 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
>            Assignee: Aki Yoshida
>             Fix For: 2.5.11, 2.6.9, 2.7.6, 3.0.0
>
>
> 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

Reply via email to