@Override
protected URI getFaultAction(Object endpoint, MessageAddressingProperties map) {
MethodEndpoint methodEndpoint = (MethodEndpoint) endpoint;
Action action = methodEndpoint.getMethod().getAnnotation(Action.class);
if (action != null && StringUtils.hasText(action.fault())) {
return getActionUri(action.fault(), methodEndpoint);
}
else {
return super.getResponseAction(endpoint, map);
}