use of demo.service.impl.HelloWorldImpl in project cxf by apache.
the class ServerJMS method launchCxfApi.
private static void launchCxfApi() {
Object implementor = new HelloWorldImpl();
JaxWsServerFactoryBean svrFactory = new JaxWsServerFactoryBean();
svrFactory.setServiceClass(HelloWorld.class);
svrFactory.setTransportId(JMSSpecConstants.SOAP_JMS_SPECIFICATION_TRANSPORTID);
svrFactory.setAddress(JMS_ENDPOINT_URI);
svrFactory.setServiceBean(implementor);
svrFactory.setFeatures(Collections.singletonList(new LoggingFeature()));
svrFactory.create();
}
Aggregations