msg.setContent(MessageExchange.class, exchange);
msg.setContent(NormalizedMessage.class, outMsg);
msg.put(SoapVersion.class, in.get(SoapVersion.class));
msg.put(JbiConstants.USE_JBI_WRAPPER, useJbiWrapper);
InterceptorChain phase = getChain(Phase.ServerOut);
phase.doIntercept(msg);
// TODO: handle http headers: Content-Type, ...
}
public void sendError(MessageExchange exchange, Exception error, HttpServletRequest request,
HttpServletResponse response) throws Exception {