Search in sources :

Example 1 with XMLMessageOutInterceptor

use of org.apache.cxf.binding.xml.interceptor.XMLMessageOutInterceptor 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;
}
Also used : WrappedOutInterceptor(org.apache.cxf.wsdl.interceptors.WrappedOutInterceptor) StaxOutInterceptor(org.apache.cxf.interceptor.StaxOutInterceptor) XMLMessageInInterceptor(org.apache.cxf.binding.xml.interceptor.XMLMessageInInterceptor) XMLFaultOutInterceptor(org.apache.cxf.binding.xml.interceptor.XMLFaultOutInterceptor) AttachmentInInterceptor(org.apache.cxf.interceptor.AttachmentInInterceptor) StaxInInterceptor(org.apache.cxf.interceptor.StaxInInterceptor) XMLFaultInInterceptor(org.apache.cxf.binding.xml.interceptor.XMLFaultInInterceptor) DocLiteralInInterceptor(org.apache.cxf.wsdl.interceptors.DocLiteralInInterceptor) XMLMessageOutInterceptor(org.apache.cxf.binding.xml.interceptor.XMLMessageOutInterceptor) AttachmentOutInterceptor(org.apache.cxf.interceptor.AttachmentOutInterceptor)

Aggregations

XMLFaultInInterceptor (org.apache.cxf.binding.xml.interceptor.XMLFaultInInterceptor)1 XMLFaultOutInterceptor (org.apache.cxf.binding.xml.interceptor.XMLFaultOutInterceptor)1 XMLMessageInInterceptor (org.apache.cxf.binding.xml.interceptor.XMLMessageInInterceptor)1 XMLMessageOutInterceptor (org.apache.cxf.binding.xml.interceptor.XMLMessageOutInterceptor)1 AttachmentInInterceptor (org.apache.cxf.interceptor.AttachmentInInterceptor)1 AttachmentOutInterceptor (org.apache.cxf.interceptor.AttachmentOutInterceptor)1 StaxInInterceptor (org.apache.cxf.interceptor.StaxInInterceptor)1 StaxOutInterceptor (org.apache.cxf.interceptor.StaxOutInterceptor)1 DocLiteralInInterceptor (org.apache.cxf.wsdl.interceptors.DocLiteralInInterceptor)1 WrappedOutInterceptor (org.apache.cxf.wsdl.interceptors.WrappedOutInterceptor)1