On Thursday 23 October 2008 5:25:19 pm Glen Mazza wrote: > I'm not accustomed to the concept of starting and stopping web services, as > opposed to starting and stopping the servlet that hosts them. The latter > seems more natural, and can be handled just as you would for any > servlet-based web application. Another issue is that I'm unsure whether > CXFServlet was designed to turn on/off web services (as opposed to > CXFServlet being turned on/off itself in order to accomplish the same > purpose)--and how tested such functionality is, even if it's available.
It's definitely possible. We have a couple system tests that do a "factory pattern" thing where there is one web service that acts as a factory for other webservices that get registered and such as demand. Basically, the JAX-WS spec specifically allows for it. The RI is a bit strange in that anything that you "endpoint.publish" would come up via the embedded HTTP engine on a different port than your servlet, but it certainly allows it. CXF forces into the same servlet as the current bus. Dan > > Glen > > Kirill R. wrote: > > I want to be able to start and stop web services in runtime using the CXF > > servlet hosted in that Jetty. -- Daniel Kulp [EMAIL PROTECTED] http://dankulp.com/blog
