> I create factory for my webservice manually this way:
>
> JaxWsServerFactoryBean factory = new JaxWsServerFactoryBean();
> factory.setBus(bus);
> factory.setServiceClass(CalculatorServiceImpl.class);
> factory.setAddress("/calcService");
> factory.create();
>
> Now I need to create factory for multiple webservices. Could anyone say
> how to do that? Should I create new JaxWsServerFactoryBean for every
> service or there is some factory hat supports multiple services?
The factory caches a bunch of things internally so you would need a new factory
for each “service class” at the very least.
--
Daniel Kulp
[email protected] <mailto:[email protected]> - http://dankulp.com/blog
<http://dankulp.com/blog>
Talend Community Coder - http://talend.com <http://coders.talend.com/>