On Feb 8, 2013, at 7:13 AM, Jim Talbut <[email protected]> wrote:
> Hi,
>
> org.apache.cxf.interceptor.Fault has:
> public static final QName FAULT_CODE_CLIENT = new
> QName("http://cxf.apache.org/faultcode", "client");
> public static final QName FAULT_CODE_SERVER = new
> QName("http://cxf.apache.org/faultcode", "server");
>
> These are clearly not the same as the Client and Server recommended in the
> SOAP 1.1 spec:
> http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383510
>
> Both the namespace and the localpart are different, but the similarity of the
> localpart makes it look as though they are supposed to be used for that
> purpose.
These are just used internally. They the fault/exception is written out on the
wire, the protocol maps those into whatever is appropriate for that protocol.
If it's soap 1.1, it would end up with the 1.1 namespace. If it's 1.2, it
would use the 1.2 namespace.
--
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com