Hi Punnadi, Since you are writing a integration test, you can use the ServiceAdmin admin service. Invoke the changeServiceState operation in ServiceAdmin with serviceName and isActive (set to false) as inputs.
Regards, KasunG On Thu, Nov 14, 2013 at 9:59 PM, Vijayaratha Vijayasingam <[email protected]>wrote: > AxisConfiguration.stopservice(), startservice() operations are available. > > > On 14 November 2013 18:42, Harsha Thirimanna <[email protected]> wrote: > >> U can easily get the required service just looking at that UI bundle in >> AS I think. >> On Nov 14, 2013 6:23 PM, "Punnadi Gunarathna" <[email protected]> wrote: >> >>> Hi All, >>> >>> I am writing some integration tests where it is required to deactivate >>> axis2 service which is deployed in axis2 server programatically. Is there a >>> way to do this? Please advice. >>> >>> Note: I have manually done it using WSO2 AS by deploying the service >>> there and deactivated from UI itself. >>> >>> >>> -- >>> Thanks and Regards, >>> >>> Punnadi Gunarathna >>> Senior Software Engineer, >>> WSO2, Inc.; http://wso2.com <http://wso2> >>> Blog: http://hi-my-world.blogspot.com/ >>> Tel : 94 11 214 5345 >>> Fax :94 11 2145300 >>> >>> >>> >>> <http://lalajisureshika.blogspot.com/> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > -Ratha > mobile: (+94)755906608 > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Kasun Gajasinghe* Software Engineer; WSO2 Inc.; http://wso2.com , *email: * *kasung AT spamfree wso2.com <http://wso2.com> ** cell: **+94 (77) 678-0813* *linked-in: *http://lk.linkedin.com/in/gajasinghe *blog: **http://kasunbg.org* <http://kasunbg.org> *twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
