Skip to main content

SOAP Connector (Request-Reply or Publish) Operation - Usage

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_FILE option.

The following figure illustrates the Universal Command options to execute the SOAP operation.

-script REMOTE_SOAP_Options.txt
-script_type SERVICE
-host server1
-login YES
-userid abc
-pwd 123

The following figure illustrates the script file.

-protocol SOAP
-mep Request
-serviceurl http://www.webservicemart.com/uszip.asmx
-soapaction http:/webservicemart.com/ws/ValidateZip
-timeoutsec 10
info

The script file illustrated above is the argument to the -script (SCRIPT_FILE) option for Universal Command shown in the first figure. For the publish operation, the value for -mep would be Publish.

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 shown in the following figure.

ucmd -file REMOTE_SOAP_Invoke.txt < zipcode.xml