Previous Topic

Next Topic

Book Contents

Book Index

Sending a request using the EMXMLInvoker or EMBasicXMLInvoker

This procedure describes how to send a request using the EMXMLInvoker or EMBasicXMLInvoker. The invoke method can throw an exception if the application fails to process the invoke call (for example, if communication between Control‑M/EM and Control‑M fails). For more information, see Application runtime and communication troubleshooting.

To send a request:

  1. Create an instance of either the EMXMLInvoker or EMBasicXMLInvoker containing a reference to a Control‑M/EM GUI server.

    NOTE: In networks in which more than one GUI Server is installed, only the component is listed in the ctmemapi.properties file. The API works only with the components listed in the file. You cannot modify the file to include more than one GUI Server.

  2. Send a request to the specified Control‑M/EM server component according to the different class:

    NOTE: A request in XML format (xmlRequest), specifying the action that the Control M installation is to perform, is required for each call. The various types of requests that you can make are described in Request and response parameters.

Parent Topic

Control-M/EM API requests