There is a good article by Eben Hewitt that covers how to get the "business
exception" back "over the wire" here:

http://io.typepad.com/eben_hewitt_on_java/2009/07/using-soap-faults-and-exceptions-in-java-jaxws-web-services.html


Perhaps that could be of help.

Mark


On Mon, Jul 15, 2013 at 12:27 PM, James Green <[email protected]>wrote:

> We have a CXF-based SOAP client here that's started logging errors as a
> result of a catch (Throwable ...) block.
>
> Trouble is, the stack trace shows the error as coming from a business
> exception issued by the server. We're wondering why the catch
> (BusinessException ...) block isn't firing?
>
> Server side we have 2.6.8, client is 2.7.2. The server class is pretty much
> just a POJO annotated with @WebService and the business exceptions are pure
> POJOs - I understand CXF these days wraps them up automatically.
>
> Any ideas for investigation welcomed.
>
> Thanks,
>
> James
>

Reply via email to