You need some beans that expose the admin functionality as services so that you can control it remotely. If you look at the source for WSO2 WSAS you can see how we do it - you can either use WSAS' directly for it or just copy the bits that you care about.

See: http://wso2.org/repos/wso2/trunk/wsas/java/modules/admin/src/org/wso2/wsas/admin/service/

In particular you probably want ServiceAdmin.java. If you look at the WSAS admin console you'll see how these services are used remotely.

http://wso2.org/projects/wsas/java

Sanjiva.

EL ALAMI wrote:
Hi everyone,

I have been trying to use the axis2 API to have the list of a remote axis2 services , but I can’t find a way to do it.

In a more specific description, I need to write a java function that takes as argument the axis2 url (or its repository or something like that) and returns the list of all the services correctly deployed on it.

I think that the AxisConfiguration.getServices() method is going to be used, but of course I still need to have of the AxisConfiguration of the remote engine.

Can anybody guide me through?

I appreciate your help;)


--
Sanjiva Weerawarana, Ph.D.
Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
Member; Apache Software Foundation; http://www.apache.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to