if (getBinding() instanceof SoapBinding) {
out.add(new SOAPHandlerInterceptor(jaxwsBinding));
if (mode == Mode.MESSAGE) {
SAAJOutInterceptor saajOut = new SAAJOutInterceptor();
out.add(saajOut);
out.add(new MessageModeOutInterceptor(saajOut,
getBinding().getBindingInfo().getName()));
}
} else if (isProvider) {
out.add(new MessageModeOutInterceptor(clazz, getBinding().getBindingInfo().getName()));
}
//Outbound fault chain
List<Interceptor> outFault = super.getOutFaultInterceptors();
outFault.add(new LogicalHandlerFaultOutInterceptor(jaxwsBinding));