So my problem is twofold.  I need to be able to:

a) Catch all exceptions that CXF sends back to the client and replace
the exception with a custom exception.  Do I use an interceptor for
this?  How do I basically return a Response object with custom XML and a
status code?

b) Have a standard way to throw exceptions from service methods and have
them serialized into a custom XML format.  Do I just need to try catch
everything from all my methods and build some XML or is there something
more convenient?  I know I can always use a spring interceptor fudge it
too...wondering if there is a CXF mechanism for doing this.

Thanks in advance.

Cheers,
David



Reply via email to