On Friday, April 27, 2012 11:17:04 AM Sergey Beryozkin wrote:
> I'm interested myself how it would it work if say two cxf:bus were
> declared, with the 1st one referenced from jaxrs:server and the second
> one - from jaxws:endpoint, but I'm not sure how CXFServlet will manage
> it :-)

It MAY actually work if you add:

<bean id="org.apache.cxf.transport.http.DestinationRegistry" 
class="org.apache.cxf.transport.http.DestinationRegistryImpl"/>

To the spring config.    The   HTTPTransportFactory that each of the two 
Bus's create would then share the common registry.   Thus a single Servlet 
can likely be used.   Not 100% sure, but it may be worth a shot.




-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to