use of org.apache.cxf.binding.xml.interceptor.XMLFaultOutInterceptor in project cxf by apache.
the class XMLBindingFactory method createBinding.
public Binding createBinding(BindingInfo binding) {
XMLBinding xb = new XMLBinding(binding);
xb.getInInterceptors().add(new AttachmentInInterceptor());
xb.getInInterceptors().add(new StaxInInterceptor());
xb.getInInterceptors().add(new DocLiteralInInterceptor());
xb.getInInterceptors().add(new XMLMessageInInterceptor());
xb.getOutInterceptors().add(new AttachmentOutInterceptor());
xb.getOutInterceptors().add(new StaxOutInterceptor());
xb.getOutInterceptors().add(new WrappedOutInterceptor());
xb.getOutInterceptors().add(new XMLMessageOutInterceptor());
xb.getInFaultInterceptors().add(new XMLFaultInInterceptor());
xb.getOutFaultInterceptors().add(new StaxOutInterceptor());
xb.getOutFaultInterceptors().add(new XMLFaultOutInterceptor());
return xb;
}
Aggregations