Web Services Jobs
The following topics describe job attributes that work with Web Services jobs:
Web Services REST Job
Web Services REST jobs enable you to design and execute single REST API calls.
To create a Web Services REST job, see Creating a Job. For more information about this plug-in, see
The following table describes the Web Services REST job attributes.
Attribute |
Description |
---|---|
Connection Profile |
Determines the authorization credentials that are used to connect Control-M to Web Services REST, as described in Web Services REST Connection Profile Parameters. Rules
|
Endpoint URL |
Defines the endpoint base URL, which is the common resource prefix that the API uses to navigate. https://batch.eu-west-2.amazonaws.com |
URL Request Path |
Defines the URL request path. /v1/submitjob |
Method |
Determines one of the following HTTP methods that is used to execute the REST job:
Rules:
Variable Name: %%WS-SERVICE |
URL Parameters |
Defines optional URL parameters, as Key:Value pairs. Key: Filter Value: Untitled Workflow |
HTTP Headers |
Defines optional HTTP headers, as Key:Value pairs.
If you created a connection profile that authenticates with OAuth2, as described in Web Services REST Connection Profile Parameters, you must define the following HTTP header key name and value:
|
Request Definition |
Determines whether to define a REST request body, and how to do so:
|
Body |
Defines the request body as textual input, in JSON format. |
filename |
Defines the full path to a local file that contains a predefined request body. /home/jobdefs/request-body.txt |
Output Parameters |
(Optional) Defines output handling that extracts values from the service response in either JSON or XML. The attribute consists of the following:
Rules:
|
Connection Timeout |
Determines the number of seconds to wait after Control-M initiates a connection request to Web Services before a timeout occurs. Default: 50 |
Append Request |
Determines whether to append the API request to the output A tab in the job properties pane of the Monitoring domain where the job output appears that indicates whether a job ended OK, and is used, for example, with jobs that check file location.. |
Append Response |
Determines whether to append the API response to the output. |
Web Services SOAP Job
Web Services SOAP jobs enable you to design and execute single SOAP API calls.
To create a Web Services SOAP job, see Creating a Job. For more information about this plug-in, see
The following table describes the Web Services SOAP job attributes.
Attribute |
Description |
---|---|
Connection Profile |
Determines the authorization credentials that are used to connect Control-M to Web Services SOAP, as described in Web Services SOAP Connection Profile Parameters. Rules
|
Endpoint URL |
Defines the endpoint base URL, which is the common resource prefix that the API uses to navigate. https://batch.eu-west-2.amazonaws.com |
SOAP Action |
Defines a single SOAP action (operation), which you must take from the WSDL file. In the WSDL file, copy the SOAP action http://tempuri.org/SOAP.Demo.AddInteger from the body of the following operation and paste it in the SOAP Request field: Copy
|
Request Definition |
Determines one of the following requests to perform:
|
SOAP Request |
Defines the SOAP request. Copy
|
HTTP Headers |
(Optional) Defines HTTP header key names and values.
|
Output Parameters |
(Optional) Defines the following output parameters:
Rules:
|
Connection Timeout |
Determines the number of seconds to wait after Control-M initiates a connection request to Web Services before a timeout occurs. Default: 50 |
Append Request |
Determines whether to append the API request to the output A tab in the job properties pane of the Monitoring domain where the job output appears that indicates whether a job ended OK, and is used, for example, with jobs that check file location.. |
Append Response |
Determines whether to append the API response to the output. |