cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Sviridov <ooo_satu...@mail.ru.INVALID>
Subject Re[2]: JaxWsServerFactoryBean for multiple beans
Date Thu, 07 May 2020 15:19:05 GMT

Hi Daniel,
 
Thank you very much for your answer.
 
Best regards, Alex
  
>Четверг, 7 мая 2020, 18:06 +03:00 от Daniel Kulp <dkulp@apache.org>:
> 
>
>
>> 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/ >
>  
 
 
--
Alex Sviridov
 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message