Setting up output link properties in DataStage

The Output tab properties are divided among the following sections:

  • Output name
  • Options
    • Reject link
    • Output message
    • Output header
  • Columns

Output values can include one of the following items:

  • One or more output parameters that are part of the web response.
  • Column from a linked stage that receives the web response as is.

Setting up output message properties in DataStage

About this task

Use the Output message page to complete one of these actions:

  • Load namespace information and output parameters from the table definition that contains WSDL information. The Web Service stage uses this information to decode the web response into an output row.
  • Specify a single column on the input link of the XML Input stage or another stage that receives the response without decoding from the web service.

Decoding output message from the web service

Procedure

  1. Open the Options section of the Output 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.

Returning output messages without decoding

Procedure

  1. Define a column in the input link of the receiving stage.
  2. On the Output page of the Web Services Transformer stage, click the Output message tab.
  3. Select the User-defined message checkbox.
  4. In the Choose the column receiving the user message list, select the column of the linked stage that is to receive the output message. This column is the one that you defined in step 1.
    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 output header properties in DataStage

About this task

Use the Output header section of the Output tab to specify an output column that receives the output header that is sent in a web service response.

Procedure

  1. Open the Options section of the Output tab.
  2. In the Output header section, select the User-defined header checkbox.
  3. In the Choose the column receiving the user header list, select the output column that receives the output header.

Maintaining columns properties in DataStage

About this task

Use the Columns section of the Output tab to:

  • Inspect the definitions of output values.
  • Load another table definition. This task is an advanced task.

The Columns section can also include values that are passed from the input link.

Procedure

  1. Open the Columns section.

    The output parameters that are supplied by the web service WSDL or the specified column from the linked stage appear in rows.

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

  2. Modify the information, as needed. For example, you can add columns whose values pass from the input link to the output link.