Defining Input and Output Data

You use the Interface tab to define the subset of formal parameters defined in the process that are available to the task or event being used to expose the web service operation.

The selected fields will appear on the Input to Process or Output from Process tabs, where they can be mapped to corresponding service input/output parameters - see Defining Input and Output Mappings.

Note: If the task or event uses an existing WSDL (either selected or imported), the fields/parameters selected on the Interface tab define the fields that are available on the Input to Process or Output from Process tabs.

If the task or event uses the default generated WSDL, the fields/parameters selected on the Interface tab act as a filter to control the parts that are created in the WSDL operation. (Note that the generated WSDL is automatically synchronized with the process if changes are made.)

By default, all fields/parameters defined in the process are available.

To define the available fields:

Click to add new fields. The Select Data Field or Formal Parameter dialog is displayed, listing the available formal parameters that are defined in the process.

Note: If the task or event is configured as a Reply to Upstream Incoming Request, and the request activity uses the default web service operation, you cannot add, delete or edit any parameters on this tab. The input and output parameters are declared in the request activity instead. If you wish to edit them, you must do so there.

Procedure

  1. Select the data fields or parameters you need, click Add, then click OK. The selected parameters are displayed on the Interface tab.
  2. For each parameter, click in the Mode cell and select the appropriate value from the drop-down list:
    • In - defines a parameter whose value will be sent to the web service.
    • Out - defines a parameter that will be used to stored a value r.eturned from the web service.
    • In/Out - defines a parameter whose value will be sent to the web service, and then updated with a value returned from the web service.