cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aki Yoshida (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5009) Allow multiple subcodes in a SOAP 1.2 fault
Date Wed, 22 May 2013 16:59:36 GMT

    [ https://issues.apache.org/jira/browse/CXF-5009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13664254#comment-13664254
] 

Aki Yoshida commented on CXF-5009:
----------------------------------

Hi Kyle,
I renamed the method to addSubCode as requested. If you can test it with your scenario to
verify the fix, that would be great.
regards, aki
                
> 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

Mime
View raw message