Hi,
I am having problem with setting custom FaultCode in SOAP Fault response.
I know when using XFire it could be achieved by extending XFireFault and 
setting QName faultCode parameter.

Tried to do same thing with CXF Fault class by extending it in my 
ResultSetFaultMessage and call in constructor:
        
        public ResultSetFaultMessage(String faultInfo, String faultCode) {
                super((Throwable)null, new QName(faultCode));
                this.setMessage(faultInfo);
        }

However it doesn't seem to work when throwing ResultSetFaultMessage in my code. 
I'm still sending soap:Server instead of my custom fault code.

Any thouught?

Reply via email to