Have you lookes at ServiceLifeCycle support in Axis2? Please refer [1] for a tutorial on what it is how to use it.
Thanks, Keith. [1] http://wso2.org/library/333 On Wed, Apr 29, 2009 at 6:58 PM, Martin Fernau <m.fer...@cps-net.de> wrote: > Dear all Axis developers, > > If axis is on the way to undeply a service, is it possible to let axis > invoke > a method on this Service? > Something like implementing a pre defined interface from axis2 (maybe > "WebService") which defines one method (maybe "undeploying()" ) which will > be > called from axis if this webservice is going to be undeployed. In this way > the > developer has a chance to do several things (cleanup and so on) just before > this service is undeployed. Think on this like the finalize-Method of > Object. > > Regards, > Martin Fernau > -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org