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

Daniel Kulp resolved CXF-1716.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.9
                   2.1.2

> Wrong namespace for faultcode
> -----------------------------
>
>                 Key: CXF-1716
>                 URL: https://issues.apache.org/jira/browse/CXF-1716
>             Project: CXF
>          Issue Type: Bug
>          Components: Soap Binding
>    Affects Versions: 2.1.1
>            Reporter: Martin Muenstermann
>             Fix For: 2.1.2, 2.0.9
>
>
> When throwing a SoapFault constructed using SoapFault.FAULT_CODE_CLIENT the 
> generated response contains
> <soap:Fault><faultcode 
> xmlns:ns1="http://cxf.apache.org/faultcode";>ns1:client</faultcode>...
> I think the SOAP spec 
> http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383510 suggests that the 
> faultcode should be in the envelope namespace.
> cnf. org/apache/cxf/interceptor/Fault.java
> maybe should be changed to
>     public static final QName FAULT_CODE_CLIENT = new 
> QName("http://schemas.xmlsoap.org/soap/envelope/";, "Client");
>     public static final QName FAULT_CODE_SERVER = new 
> QName("http://schemas.xmlsoap.org/soap/envelope/";, "Server");
> (probably only in the inherited SoapFault?)
> Thanks,
>  Martin

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to