List<Interceptor> phase;
// ServerIn phase
phase = getInterceptors(Phase.ServerIn);
phase.add(new AttachmentsInInterceptor());
phase.add(new StaxInInterceptor());
phase.add(new SoapInInterceptor(soapVersion));
phase.add(new SoapActionInOperationInterceptor());
phase.add(new WsdlOperationInInterceptor());
phase.add(new MustUnderstandInterceptor());
phase.add(new JbiInWsdl1Interceptor(true));
phase.add(new JbiInInterceptor(true));
// ServerOut phase
phase = getInterceptors(Phase.ServerOut);
phase.add(new JbiFaultOutInterceptor());
phase.add(new JbiOutInterceptor(true));
phase.add(new JbiOutWsdl1Interceptor(true));
phase.add(new AttachmentsOutInterceptor());
phase.add(new StaxOutInterceptor());
phase.add(new SoapOutInterceptor(soapVersion));
phase.add(new BodyOutInterceptor());
// ServerOutFault phase
phase = getInterceptors(Phase.ServerOutFault);
phase.add(new StaxOutInterceptor());
phase.add(new SoapOutInterceptor(soapVersion));
phase.add(new SoapFaultOutInterceptor());
// ClientOut phase
phase = getInterceptors(Phase.ClientOut);
phase.add(new JbiOutInterceptor(false));
phase.add(new JbiOutWsdl1Interceptor(false));
phase.add(new SoapActionOutOperationInterceptor());
phase.add(new AttachmentsOutInterceptor());
phase.add(new StaxOutInterceptor());
phase.add(new SoapOutInterceptor(soapVersion));
phase.add(new BodyOutInterceptor());
// ClientIn phase
phase = getInterceptors(Phase.ClientIn);
phase.add(new AttachmentsInInterceptor());
phase.add(new StaxInInterceptor());
phase.add(new SoapInInterceptor());
phase.add(new SoapFaultInInterceptor());
phase.add(new JbiInWsdl1Interceptor(false));
phase.add(new JbiInInterceptor(false));
}