Please read the Spring Web Services documentation.
You can provide a custom
There are several standard resolvers including one that maps Exception types to faultCode, faultString.
For more sophistication, provide your own implementation of
Take a look at one of the standard implementations to see how to build the response from the exception and message context.
resolveException(MessageContext, endpoint, Exception)
Gary P. Russell
Spring Integration Team
SpringSource, a division of VMware