Thursday, January 23, 2014

How to expose AdminServices

To list Admin Services and to use in WSO2 Product stack

To enable Admin services please navigate to $WSO2CARBON_HOME/repository/conf/carbon.xml

1. Set the HideAdminServiceWSDLs tag to false
<HideAdminServiceWSDLs>false</HideAdminServiceWSDLs>

2. Restart the server with -DosgiConsole option
e.g wso2server.sh -DosgiConsole

3. From the OSGI console type the below and enter
listAdminServices

4. You will get all the exposed admin services for your product

5. This can be invoked using soapUI or any tool of your choice for verification
https://<hostname>:<post>/services/<ServiceName>?wsdl

e.g. https://localhost:9443/services/HumanTaskClientAPIAdmin?wsdl