In the 2.7.x version I can publish the WebService service like this

HTTPTransportFactory transportFactory = new HTTPTransportFactory();

ServerFactoryBean serverFactoryBean = new ServerFactoryBean();

serverFactoryBean.setAddress(url.getAbsolutePath());
serverFactoryBean.setServiceClass(type);
serverFactoryBean.setServiceBean(impl);
serverFactoryBean.setBus(bus);
serverFactoryBean.setDestinationFactory(transportFactory);
serverFactoryBean.create();

but in the 3.2.x version, since the HTTPTransportFactory no longer implements 
the WSDLEndpointFactory interface, it returns null when calling 
ServerFactoryBean#getWSDLEndpointFactory, which results in the <soap:address 
location/> tag. Lost, how should this problem be solved?


Best Regards!
Zhongming Hua

Reply via email to