This article might help. You may need to apply the same pattern to apply the FaultBean construct at the client that is re-throwing the detailed exception from the server.
http://io.typepad.com/eben_hewitt_on_java/2009/07/using-soap-faults-and-exceptions-in-java-jaxws-web-services.html Mark On Mon, Apr 28, 2014 at 6:06 PM, icfantv <[email protected]> wrote: > 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. >
