cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <>
Subject Re: CXF with Spring context that is programmatically started
Date Fri, 27 Sep 2013 09:13:20 GMT
Try extending CXFServlet and overriding its
protected loadBus(...) method, the default implementation loads a 
context itself and the does


where 'cxf' is the name of Spring loaded bus,
may be you can do something similar in your case, set a bus from the 
spring context loaded out-of-band


On 26/09/13 22:19, Santosh Kulkarni wrote:
> I am trying to write a CXF web service as part of my spring based
> application.
> For reasons beyond my control we programmatically start the Spring context
> so I can't let CXF start it.
> I load the cfx-beans.xml with all of my other spring configuration files
> and it even starts the web service.
> The problem is that the CXF servlet does not know about it so the /services
> URL says there are no services defined. SO the web service is not exposed.
> Can I start the spring context and somehow 'tell' CXF what the context is?
> Santosh

View raw message