Control-M/EM API supports two methods for creating, sending, and handling requests:
The EMBasicXMLInvoker uses an XML schema to validate XML formatted requests and responses, but the EMXMLInvoker class does not (see XML string validation). Both classes can be used together in the same project, and in the same session. As the EMBasicXMLInvoker class inherits from the EMXMLInvoker class you only need to initialize the Control‑M/EM API once. See Flowchart: Differences between EMXMLInvoker and EMBasicXMLInvoker for more information.
To send a request using EMXMLInvoker or EMBasicXMLInvoker, see Sending a request using the EMXMLInvoker or EMBasicXMLInvoker. For response types, see Response types received when using the EMBasicXMLInvoker and Response types received when using EMXMLInvoker.
Parent Topic |