Setting up input link properties in DataStage

The Input tab properties are divided among the following sections:

  • Input name
  • Options
    • Input message
    • Input header
  • Columns

Input values can include one of the following items:

  • One or more columns of input parameters that are part of the web service request.
  • A column that contains the SOAP message that was encoded by another stage that constitutes the web service request.

Input values can also include columns whose values are not sent to the web service but are copied to the output link.

Setting up input options in DataStage

About this task

Input tab options define the contents of the SOAP message for a web service request. Use the Input message section to complete one of these actions:
  • Generate the SOAP message by using information supplied by the WSDL of the web service.
  • Load the namespace, input parameters, and other table definition information for the web service that you specify on the General page of the Stage properties page. This information is used to create the SOAP message for a web service request.
  • Use the SOAP message that a previous stage generates.

Generating the SOAP message from the WSDL of the Web Service

Procedure

  1. Open the Input message section of the Input tab.
  2. Click Load message information to load namespace information and input parameters for the web service operation that is listed as a stage property. You can then update the prefix or value of the namespace.

Using the SOAP message from a previous stage

About this task

To use a SOAP message that was generated by a previous stage:

Procedure

  1. Click the Input message tab.
  2. Select the User-defined message checkbox.
  3. In the Choose the column receiving the user message list, select the column that contains the SOAP message that a previous stage supplies to the Web Service stage.
    Note: If you configure the Web Service stage to handle user-defined messages or headers, you must define the column that contains the message as VarBinary, especially if the message is not UTF-8 encoded.

Setting up input header properties in DataStage

About this task

Use the Input header section to specify an input link column that supplies the SOAP header that is sent with the web service request.

Procedure

  1. Open the Input header section on the Options section tab.
  2. Select the User-defined header checkbox.
  3. In the Choose the column receiving the user header list, select the column that contains the input header that a previous stage supplies to the Web Service stage.
    Note: If you configure the Web Service stage to handle user-defined messages or headers, you must define the column that contains the message as VarBinary, especially if the message is not UTF-8 encoded.

Maintaining columns properties in DataStage

About this task

Use the Columns page to:
  • Inspect the definitions of input values.
  • Load another table definition. This task is an advanced task.

Procedure

Open the Columns section of the Input tab.

You can review the input parameters that are supplied by the web service or the specified column from a linked stage that appear in rows.

The Description property contains an XPath expression only when the input message is parsed and mapped.