Search in sources :

Example 1 with HelloImpl

use of org.apache.cxf.systest.jms.HelloImpl in project cxf by apache.

the class JavaFirstNoWsdlTest method startServer.

@BeforeClass
public static void startServer() {
    startBusAndJMS(JavaFirstNoWsdlTest.class);
    JaxWsServerFactoryBean svrFactory = new JaxWsServerFactoryBean();
    svrFactory.setBus(bus);
    svrFactory.getFeatures().add(cff);
    svrFactory.setServiceClass(Hello.class);
    svrFactory.setAddress(SERVICE_ADDRESS);
    svrFactory.setTransportId(JMSSpecConstants.SOAP_JMS_SPECIFICATION_TRANSPORTID);
    svrFactory.setServiceBean(new HelloImpl());
    svrFactory.create();
}
Also used : HelloImpl(org.apache.cxf.systest.jms.HelloImpl) JaxWsServerFactoryBean(org.apache.cxf.jaxws.JaxWsServerFactoryBean) BeforeClass(org.junit.BeforeClass)

Aggregations

JaxWsServerFactoryBean (org.apache.cxf.jaxws.JaxWsServerFactoryBean)1 HelloImpl (org.apache.cxf.systest.jms.HelloImpl)1 BeforeClass (org.junit.BeforeClass)1