Open topic with navigation

TIBCO GridServer® 7.1.0

# Using the Admin API over SOAP

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();

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO GridServer®

Copyright © 2001-2022. TIBCO Software Inc. All Rights Reserved.