Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.1
-
None
Description
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