Search in sources :

Example 1 with WebServiceInjectionConfigurator

use of org.apache.openejb.server.cxf.client.WebServiceInjectionConfigurator in project tomee by apache.

the class CxfService method init.

@Override
public void init(final Properties props) throws java.lang.Exception {
    super.init(props);
    CxfUtil.configureBus();
    SaajInterceptor.registerInterceptors();
    factoryByListener = "true".equalsIgnoreCase(props.getProperty("openejb.cxf.factoryByListener", "false"));
    transportFactory = new SoapTransportFactory();
    if (SystemInstance.get().getComponent(JaxWsServiceReference.WebServiceClientCustomizer.class) == null) {
        SystemInstance.get().setComponent(JaxWsServiceReference.WebServiceClientCustomizer.class, new WebServiceInjectionConfigurator());
    }
}
Also used : JaxWsServiceReference(org.apache.openejb.core.ivm.naming.JaxWsServiceReference) WebServiceInjectionConfigurator(org.apache.openejb.server.cxf.client.WebServiceInjectionConfigurator) SoapTransportFactory(org.apache.cxf.binding.soap.SoapTransportFactory)

Aggregations

SoapTransportFactory (org.apache.cxf.binding.soap.SoapTransportFactory)1 JaxWsServiceReference (org.apache.openejb.core.ivm.naming.JaxWsServiceReference)1 WebServiceInjectionConfigurator (org.apache.openejb.server.cxf.client.WebServiceInjectionConfigurator)1