Search in sources :

Example 11 with JaxWsServerFactoryBean

use of org.apache.cxf.jaxws.JaxWsServerFactoryBean in project Activiti by Activiti.

the class AbstractWebServiceTaskTest method initializeProcessEngine.

@Override
protected void initializeProcessEngine() {
    super.initializeProcessEngine();
    webServiceMock = new WebServiceMockImpl();
    JaxWsServerFactoryBean svrFactory = new JaxWsServerFactoryBean();
    svrFactory.setServiceClass(WebServiceMock.class);
    svrFactory.setAddress(WEBSERVICE_MOCK_ADDRESS);
    svrFactory.setServiceBean(webServiceMock);
    svrFactory.getInInterceptors().add(new LoggingInInterceptor());
    svrFactory.getOutInterceptors().add(new LoggingOutInterceptor());
    server = svrFactory.create();
    server.start();
}
Also used : LoggingOutInterceptor(org.apache.cxf.interceptor.LoggingOutInterceptor) LoggingInInterceptor(org.apache.cxf.interceptor.LoggingInInterceptor) JaxWsServerFactoryBean(org.apache.cxf.jaxws.JaxWsServerFactoryBean)

Aggregations

JaxWsServerFactoryBean (org.apache.cxf.jaxws.JaxWsServerFactoryBean)11 LoggingInInterceptor (org.apache.cxf.interceptor.LoggingInInterceptor)3 LoggingOutInterceptor (org.apache.cxf.interceptor.LoggingOutInterceptor)3 LoggingFeature (org.apache.cxf.feature.LoggingFeature)2 ServerFactoryBean (org.apache.cxf.frontend.ServerFactoryBean)2 URL (java.net.URL)1 Properties (java.util.Properties)1 Level (java.util.logging.Level)1 QName (javax.xml.namespace.QName)1 WebServiceProvider (javax.xml.ws.WebServiceProvider)1 SOAPBinding (javax.xml.ws.soap.SOAPBinding)1 WebServiceMockImpl (org.activiti.engine.impl.webservice.WebServiceMockImpl)1 CXFMessageDataFormatFeature (org.apache.camel.component.cxf.feature.CXFMessageDataFormatFeature)1 PayLoadDataFormatFeature (org.apache.camel.component.cxf.feature.PayLoadDataFormatFeature)1 RAWDataFormatFeature (org.apache.camel.component.cxf.feature.RAWDataFormatFeature)1 Bus (org.apache.cxf.Bus)1 SpringBusFactory (org.apache.cxf.bus.spring.SpringBusFactory)1 SourceDataBinding (org.apache.cxf.databinding.source.SourceDataBinding)1 JAXRSServerFactoryBean (org.apache.cxf.jaxrs.JAXRSServerFactoryBean)1 JaxWsServiceFactoryBean (org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean)1