Please read the Spring Web Services documentation.
http://static.springsource.org/sprin...ption-resolver
You can provide a customThere are several standard resolvers including one that maps Exception types to faultCode, faultString.Code:EndpointExceptionResolver
For more sophistication, provide your own implementation ofTake a look at one of the standard implementations to see how to build the response from the exception and message context.Code:resolveException(MessageContext, endpoint, Exception)


Reply With Quote