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
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.