HTTP Connector Request-Reply Operation - Usage
Overview
Usage of Universal Command Agent for SOA is via the Universal Command (UCMD) Manager, with command input coming from a script file specified with the -script (SCRIPT_FILE) option.
Universal Command Options
The following figure illustrates the Universal Command options to execute the HTTP request.
-script HTTPPost_RequestReply_Options.txt -script_type SERVICE -host server1 -login YES -userid abc -pwd 123
Script File
The following figure illustrates the script file to request the HTTP service.
-protocol HTTP -mep Request -serviceurl http://server1:8889/testService -timeoutsec 10
Note
The script file illustrated above is the argument to the -script (SCRIPT_FILE) option for Universal Command shown in the first figure.
Command File
The command options shown in the first figure can be saved in a file and invoked with Universal Command via the -file (COMMAND_FILE_PLAIN) option, as illustrated in the following figure.
ucmd -file HTTPPostRequestReply_Invoke.txt < HTTPSOAPRequest.xml