An exception is thrown when you use the invoke method.
The following are possible causes:
The Control‑M/EM API cannot communicate with the Web Server because either the Web Server is down or the connection configuration in the communication.xml is incorrect. Ensure that the following requirements are met to solve the problem:
The Web Server is running (started) on the Server host computer.
The communication.xml file points to the computer that hosts the Web Server that you are using.
SSL Connection failure: A Message is issued that confirms the SSL Handshake failed due to a missing or invalid certificate. For more information, see Introduction to SSL.
Communication cannot be established with the Control‑M/EM GUI Server because either the host names of the GUI Server are incorrect in the communication.xml file or host names of the GUI Server were specified with incorrect values in the code. Ensure that the following requirements are met to solve the problem:
The Control‑M/EM GUI Server is running.
The host name of the Control‑M/EM GUI server is typed correctly in the communication.xml file.