Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Macro name changed from html to html-bobswift during server to cloud migration processing.

...

The following figure illustrates the Universal Command options to execute the HTTP request.

Panel

Html bobswift

<pre>
-script HTTPPost_RequestReply_Options.txt
-script_type SERVICE
-host server1
-login YES
-userid abc
-pwd 123
</pre>

Script File

The following figure illustrates the script file to request the HTTP service.

Panel

Html bobswift

<pre>
-protocol HTTP
-mep Request
-serviceurl http://server1:8889/testService
-timeoutsec 10
</pre>

Note
titleNote

The script file illustrated above is the argument to the -script (SCRIPT_FILE) option for Universal Command shown in the first figure.

...

Anchor
1117157
1117157
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.

Panel

Html bobswift

<pre>
ucmd -file HTTPPostRequestReply_Invoke.txt < HTTPSOAPRequest.xml
</pre>