I am not sure if this might help you. http://testablejava.blogspot.com/2011/07/testing-cxf-based-soap-webservice.html
What is mentioned there can be easily done without using spring On Sat, Aug 6, 2011 at 9:29 AM, <[email protected]> wrote: > > I need to be able to unpublish the service without restarting the server. > > > Quoting Willem Jiang <[email protected]>: > > Yes, it is possible. >> >> You can using JaxWsServerFactoryBean to publish the service or stop the >> server as you want. >> >> You can find more information here[1] >> >> [1]http://cxf.apache.org/docs/**a-simple-jax-ws-service.html<http://cxf.apache.org/docs/a-simple-jax-ws-service.html> >> >> On 8/6/11 9:04 AM, [email protected] wrote: >> >>> I'd like to embed CXF in a way similar to the way it could be done in >>> XFire, >>> http://xfire.codehaus.org/**Embedding+XFire<http://xfire.codehaus.org/Embedding+XFire> >>> >>> I need to be able to programmatically register and unregister services >>> and I need to be able to construct the service with an instance of my >>> service class so that I can inject dependencies. >>> >>> I don't want to use spring. >>> >>> Is this possible? >>> -John >>> >>> >>> >> >> -- >> Willem >> ------------------------------**---- >> FuseSource >> Web: http://www.fusesource.com >> Blog: >> http://willemjiang.blogspot.**com<http://willemjiang.blogspot.com>(English) >> http://jnn.javaeye.com (Chinese) >> Twitter: willemjiang >> Weibo: willemjiang >> > > > >
