Search in sources :

Example 6 with StartBodyInterceptor

use of org.apache.cxf.binding.soap.interceptor.StartBodyInterceptor in project cxf by apache.

the class SoapOutInterceptorTest method setUp.

@Before
public void setUp() throws Exception {
    super.setUp();
    StaxInInterceptor sii = new StaxInInterceptor("phase1");
    chain.add(sii);
    rhi = new ReadHeadersInterceptor(BusFactory.getDefaultBus(), "phase2");
    chain.add(rhi);
    sbi = new StartBodyInterceptor("phase1.5");
    chain.add(sbi);
    soi = new SoapOutInterceptor(BusFactory.getDefaultBus(), "phase3");
    chain.add(soi);
}
Also used : ReadHeadersInterceptor(org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor) SoapOutInterceptor(org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor) StaxInInterceptor(org.apache.cxf.interceptor.StaxInInterceptor) StartBodyInterceptor(org.apache.cxf.binding.soap.interceptor.StartBodyInterceptor) Before(org.junit.Before)

Example 7 with StartBodyInterceptor

use of org.apache.cxf.binding.soap.interceptor.StartBodyInterceptor in project cxf by apache.

the class SAAJInInterceptorTest method setUp.

@Before
public void setUp() throws Exception {
    super.setUp();
    rhi = new ReadHeadersInterceptor(BusFactory.getDefaultBus(), "phase1");
    chain.add(rhi);
    sbi = new StartBodyInterceptor("phase1.5");
    chain.add(sbi);
    saajIntc = new SAAJInInterceptor("phase2");
    chain.add(saajIntc);
    chain.add(new CheckFaultInterceptor("phase3"));
}
Also used : ReadHeadersInterceptor(org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor) CheckFaultInterceptor(org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor) StartBodyInterceptor(org.apache.cxf.binding.soap.interceptor.StartBodyInterceptor) Before(org.junit.Before)

Aggregations

ReadHeadersInterceptor (org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor)7 StartBodyInterceptor (org.apache.cxf.binding.soap.interceptor.StartBodyInterceptor)7 CheckFaultInterceptor (org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor)4 Before (org.junit.Before)4 StaxInInterceptor (org.apache.cxf.interceptor.StaxInInterceptor)3 MustUnderstandInterceptor (org.apache.cxf.binding.soap.interceptor.MustUnderstandInterceptor)2 SoapOutInterceptor (org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor)2 AttachmentInInterceptor (org.apache.cxf.interceptor.AttachmentInInterceptor)2 Message (org.apache.cxf.message.Message)2 InputStream (java.io.InputStream)1 XMLStreamReader (javax.xml.stream.XMLStreamReader)1 Bus (org.apache.cxf.Bus)1 Binding (org.apache.cxf.binding.Binding)1 SoapMessage (org.apache.cxf.binding.soap.SoapMessage)1 EndpointSelectionInterceptor (org.apache.cxf.binding.soap.interceptor.EndpointSelectionInterceptor)1 RPCInInterceptor (org.apache.cxf.binding.soap.interceptor.RPCInInterceptor)1 RPCOutInterceptor (org.apache.cxf.binding.soap.interceptor.RPCOutInterceptor)1 Soap11FaultInInterceptor (org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor)1 Soap11FaultOutInterceptor (org.apache.cxf.binding.soap.interceptor.Soap11FaultOutInterceptor)1 Soap12FaultInInterceptor (org.apache.cxf.binding.soap.interceptor.Soap12FaultInInterceptor)1