SOAP Client plugin

Note: The SOAP Client plugin and the Input SOAP plugin replace the Outputs-SOAP Client plugin which has been moved to the Legacy group.

SOAP Client tasks can be used as Action and Output tasks, although their basic function is to generate output. This plugin is located in the Action group of the Plug-in Bar.

To configure a given SOAP Client task in the OL Connect Workflow Configuration program, you must first get the SOAP server's WSDL file.
Note that you cannot download the WSDL file over an HTTPS connection, so you should use an HTTP connection to get the file and then switch back to a secure connection.

If firewalls control communication between the SOAP client and the Web servers, they must be configured so as not to block client-server communication.

In the case of "string" type data, SOAP Client tasks normalize all line endings to a single line feed character.

Timeout

By default the SoapClient plugin waits 100 seconds before returning an error if it doesn't get a response. To change the time the Soap Client plugin should wait, a Timeout registry key can be set in:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Objectif Lune\PlanetSuite\PlanetWatch\TimeoutVal (DWORD)
The value can be set to anything, in seconds. To wait indefinitely for a response, -1 can be used. However, this could cause the process to hang if the Soap Server never responds nor closes the connection.

Workflow's WSDL file

When acting as a SOAP server, Workflow must be able to return the server's WSDL file upon request. The actual links for accessing the WSDL file are:

  • With the HTTP Server:

    http://[IP_ADDRESS]:[PORT]/wsdl/ISoapAct

  • With the NodeJS Server:

    http://[IP_ADDRESS]:[PORT]/soap/ISoapAct?wsdl

    Tip: This location is logged by the NodeJS server whenever the service starts.

Note: SOAP communication is non-trivial and requires a certain understanding of XML and the SOAP protocol. Using the SOAP tasks pre-supposes this knowledge and this documentation does not attempt to provide it.
For more information about SOAP workflows, see SOAP workflows.

Task properties

General Tab

  • WSDL address: Enter the URL address of the WSDL file, or choose a previously selected address from the drop-down list.
  • Get: Click to get the WSDL file from the SOAP server and populate the Service box below.
  • Service: Choose an available Web service from this drop-down list to populate the Method box below. You may also enter the service name directly if the WSDL file cannot be found.
  • Method: Choose an available method from this drop-down list. You may also enter the method name directly.
  • Name: Displays the name of the arguments associated with the selected method. Note that you may also manually enter new arguments, change or delete existing ones, as well as change their order if needed.
  • Type: Displays the argument type.
  • Value: Lets you enter fixed or variable values. To exchange variable information between the Web service and OL Connect Workflow, you must use job information variables %1 to %9 or variable %c (which contains the entire job file). Note that return values (arguments which are used to return information to the SOAP Client) are displayed in bold font.
  • Use returned raw SOAP packet as new data file: Check to use the complete SOAP packet (including the passed parameters) instead of the parameters only. This option overrides any return value set to %c in the Arguments box. You should use this option when the SOAP Client plugin is not able to fully support the syntax of the response.

Advanced Tab

  • Domain: Enter the domain for the authentication on the SOAP server. The Domain is optional even when authentication is used.
  • Username: Enter the user name for the authentication, if required.
  • Password: Enter the password for the above user name.
  • Allow invalid security certificate: Check to ignore SSL certificates that are invalid.

On Error Tab

For a description of the options on the On Error tab see Using the On Error tab.

Miscellaneous Tab

The Miscellaneous tab is common to all tasks.

It contains a text area (Task comments) that lets you write comments about the task. These comments are saved when the dialog is closed with the OK button and are displayed in The Task Comments Pane.

Check the option Use as step description to display the text next to the icon of the plugin in the Process area.

The tab also provides an option to highlight the task in The Process area with the default color, set in the Preferences (see Colors), or the color selected or defined under Highlight color on this tab.
To revert the selected highlight color to the default color, open this tab, turn the Highlight option off and close the dialog with the OK button; then turn highlighting back on.
Highlighting can also be turned on and off via the task's contextual menu and with the Highlight button on the View ribbon.