Using the Admin API over SOAP

Last published : Nov 13, 2026
The following example uses the Admin API over SOAP with Java:
  1. Locate the WSDL for the Service from the Manager’s Web Service List. For example, for the EngineDamonAdmin class use, http://example:8080/livecluster/webservices/EngineDaemonAdmin?wsdl
  2. Generate Java Stubs for the Service. For example, using Axis:
       org.apache.axis.wsdl.WSDL2Java
       http://example:8080/livecluster/webservices/EngineDaemonAdmin?wsdl
  3. Use the Stubs. For example:
       // Get the interface to the Admin Service
       EngineDaemonAdmin server = (new    EngineDaemonAdminServiceLocator()).getEngineDaemonAdmin();
       // Required when Driver authentication is enabled
       ((Stub)server).setUsername("admin");
       ((Stub)server).setPassword("admin");
       // Maintain the session ID for each request
       ((Stub)server).setMaintainSession(true);
       // Query the Admin Service
       EngineDaemonInfo[] info = server.getAllEngineDaemonInfo();