cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: JaxWsServerFactoryBean for multiple beans
Date Thu, 07 May 2020 15:06:36 GMT


> 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
dkulp@apache.org <mailto:dkulp@apache.org> - http://dankulp.com/blog <http://dankulp.com/blog>
Talend Community Coder - http://talend.com <http://coders.talend.com/>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message