I think the only way to accomplish this is to have a separate Bus for the 
client.    In your web service impl, you would do something like:

Bus orig = BusFactory.getThreadDefaultBus();
Bus bus = SpringBusFactory.createBus(... client config file ...);
BusFactory.setThreadDefaultBus(bus);

... create and use your client .....

BusFactory.setThreadDefaultBus(orig);


The Bus for the client could be held onto as a variable or similar to avoid 
recreating each time.

Dan




On Wed December 9 2009 7:31:48 am [email protected] wrote:
> Hi,
> 
> I have a web application that provides a web service running on a
> Tomcat.
> While executing a service request the application calls other web
> services asynchronously, providing a callback service on an embedded
> Jetty.
> 
> As far as I understand, I can't include both the cxf-servlet.xml (for
> the CXFServlet in Tomcat) and cxf-extension-http-jetty.xml (for the
> callback service in Jetty) in my Spring configuration.
> 
> How is it possible to make it work anyway?
> 
> Thanks in advance,
> 
> Christian
> 

-- 
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to