Cannot use the web service of ServiceAdmin
Hi guys:
As I know , WSO2 exposes web services to manage the service ,for example:startService,stopService,I install the WSO2 successfully and can access the services, but when I test the ServiceAdmin service, I always get the same error message "org.apache.axis2.AxisFault: Access Denied. Please login first.",I read some source codes,find that I need to login system before manage the service, but I don't know how can I do that.
Any reply is appreciation.thanks in advance!
Neo
- Login or register to post comments
- Printer friendly version
- 315 reads











Please take a look at the
Please take a look at the WSASNodeManagerClient class. This is a client to the NodeManager admin service.
Before invoking any admin service, you have to login first, and all Admin services need to be invoked via HTTPS. If you take a look at the code in this class, you will find how the following is done:
1. Invoking a service via HTTPS from a Java client
2. Logging in before invoking the service
3. Invoking the relevant operation in the service
If you have any questions, feel free to post them to this forum.
Regards
Afkham Azeez
I'll try
HI afkham
thank you very much
Neo
cannot find the WSASNodeManagerClient class
HI afkham
I cannot find WSASNodeManagerClient.java ,where can I get it.I have dowbloaded the source code but cannot find it!
Help
Hi afkham Are you here?I cannot get the source code.
Is there anybody can help me? thanks!
neo
Here it is
Hi Neo,
Here is the SVN location https://wso2.org/repos/wso2/trunk/wsas/java/modules/clustering/src/org/wso2/wsas/clustering/NodeManagerClient.java
Regards
Afkham Azeez
Hi azeez I have resolved
Hi azeez
I have resolved the problem. thanks