Adding Parameters to a Business Process Service Operation

When you create a business process service, a single default operation is generated for the service interface. You must add parameters and define their properties using the Service Interface page.

Later as you are designing the business process, you can add operations to the service and you can add or edit parameters using the Business Process Variables section on the Business Process page or by dragging a Receive/Request or Request/Response icon from the Interface tool palette onto the business process canvas.

To add parameters to a service operation:

  1. Open the business process service editor.

  2. Add parameters using the Operation Parameters section:

    1. Select the operation.

    2. Expand the Operation Parameters section.

    3. Click Add to add parameters for the service operation.

      A newParameter# appears in the Operation Parameters section.

  3. Define the operation parameter properties using the Properties panel:

    1. Select the parameter for which you want to define properties.

    2. Define the following properties:

      Properties for the Operation

      PropertyDescription

      Name

      Select the default parameter name and enter the new name in the Name field.

      Description

      (Optional) Describe the parameter.

      Style

      Select one of the following data style from the drop-down list:

      • Input

      • Output

      • Fault

      Datatype

      Simple Type

      1. Select Simple Type.

      2. Select a data type from the drop-down list.

      Complex Type

      1. Select Complex Type.

      2. Click Browse for the Schema.

      3. In the left pane, select the schema you want to use.

      4. In the right pane, select the root node of the schema and click OK.

        Note

        If you cannot locate the schema, verify that you have imported the schema into your project.

  4. (Optional) Add more operations.

  5. Select File|Save from the main menu bar to save the service.

Next: Designing a Business Process

Defining Business Process Variables

Creating a Receive Request Business Process Interface

Creating a Request Response Business Process Interface

Properties

Interface Tool Palette

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com