Azazelus wrote:
> 
> Yes, I am creating QName and I don't think there is even any other option.
> Just as I said in one of previous posts I am extending
> org.apache.cxf.binding.soap.SoapFault class and using construtor in the
> following way:
>     public IndexResultSetFaultMessage(String faultInfo, String faultCode)
> {
>       super(faultInfo, new QName(faultCode));
>     }
> I tried to specify custom QName prefix as well but it didn't affect the
> faultCode sent by my service after throwing IndexResultSetFaultMessage
> exception.
> Am I missing something or there is no way to set custom faultCode?
> 
The value I am passing as faultCode is a simple, uppercased, with no spaces
"ERROR_SOMEERROR" like string.
-- 
View this message in context: 
http://www.nabble.com/customizing-FaultCode-in-a-SOAP%3AFault-response-tp15091146p15161525.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to