Running sample GUI client

This procedure describes how to run a sample GUI client, which is included in Control-M/EM API installation. This enables you to familiarize with API before developing your own custom client application and allows you to submit requests and receive responses.

The sample GUI client is supplied as a source code and is located in emapi-900\examples\EMAPIClient.

To run the sample GUI client:

  1. Install and configure Control-M/EM API by completing the steps in Control-M/EM API Installation and Control-M/EM API configuration.

    You should have access to an ANT installation.

  2. Open command prompt window and change the directory to emapi-900\examples\EMAPIClient.
  3. Copy the file copy..\..\ctmemapi.properties to the directory created in step 2.
  4. Run the Control-M/EM API client by typing the following command:

    %ANT_HOME%/bin/ant run

    The GUI client appears.

  5. Do one or more of the following:

    NOTE: You can use some predefined requests, such as Register, Unregister, Poll and Create_Simple_Job for distributed systems. To use one of these requests, select it and click Invoke predefined.

    The predefine register request, uses emuser as user and empass as the password.

Parent Topic

Introduction to Control-M/EM API