// Inbound chain
in.add(new LogicalHandlerInInterceptor(jaxwsBinding));
in.add(new WrapperClassInInterceptor());
in.add(new HolderInInterceptor());
if (getBinding() instanceof SoapBinding) {
in.add(new SOAPHandlerInterceptor(jaxwsBinding));
in.add(new SwAInInterceptor());
getOutInterceptors().add(new SwAOutInterceptor());
} else {
// TODO: what for non soap bindings?
}
// Outbound chain
out.add(new LogicalHandlerOutInterceptor(jaxwsBinding));
out.add(new WrapperClassOutInterceptor());
out.add(new HolderOutInterceptor());
if (getBinding() instanceof SoapBinding) {
out.add(new SOAPHandlerInterceptor(jaxwsBinding));
}
}
//Outbound fault chain