Hi Adam,

Could you paste peace of code calling the client and stack trace?
Client shouldn't swallow the exception.

Regards,
Andrei.

> -----Original Message-----
> From: icfantv [mailto:[email protected]]
> Sent: Dienstag, 29. April 2014 00:06
> To: [email protected]
> Subject: Preventing CXF SOAP client from swallowing exception/fault
> 
> I have a SOAP client that's calling a SOAP server that I don't control.
> What's happening is that the server throwing an exception, the client is
> catching it, wrapping it, and rethrows it.  The code calling the client, 
> however,
> doesn't receive this thrown exception. Rather, it receives a
> javax.xml.ws.soap.SOAPFaultException which contains a
> org.apache.cxf.binding.soap.SoapFault.
> 
> How can I configure the client to not lose the exception?  That is, I want the
> original exception thrown by the server.
> 
> We are using CXF 2.7.6 and Spring 3.2.7.
> 
> Thanks,
> 
> --adam
> 
> 
> 
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Preventing-CXF-
> SOAP-client-from-swallowing-exception-fault-tp5743394.html
> Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to