Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
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
- is related to
-
CXF-4790 Set lang and subcode for soapfault
- Closed