removeInterceptorWhichIsOutThePhases(server.getEndpoint().getService().getOutInterceptors(), REMAINING_OUT_PHASES);
removeInterceptorWhichIsOutThePhases(server.getEndpoint().getOutInterceptors(), REMAINING_OUT_PHASES);
// Do not use the binding interceptor any more
server.getEndpoint().getBinding().getOutInterceptors().clear();
server.getEndpoint().getBinding().getOutFaultInterceptors().add(new FaultOutInterceptor());
resetServiceInvokerInterceptor(server);
server.getEndpoint().getOutInterceptors().add(new RawMessageContentRedirectInterceptor());
}