Editing Business Process Service Operation Parameter Properties

If complex parameters types are going to be used as business process operation parameters, the parameter definition must be contained in the project in a service definition file (Java or SOAP services), a schema (.xsd file), or WSDL before you edit the business process operation parameter.

To edit service operation parameter properties:

  1. Click to select the parameter in the Operation Parameters section of the Service Interface page.

    The Properties section of the editor or the Properties Panel view, whichever you select to use, displays the operation parameter properties.

  2. Enter or edit the following:

    Parameter properties

    PropertyDescription
    Name Enter a unique and descriptive name for the parameter.
    Description Enter a description of the parameter.
    StyleChoose one of the following:
    • Input

    • Output

    • Fault

      Use Fault to pass information if a fault occurs.

    Data Type Choose one of the following:
    • Click Simple Type and select a data type from the drop-down list.

    • Click Complex Type and do the following:

      1. Select Browse for Schema.

        The Schema Browser appears. The Schema Browser displays an icon beside each node to indicate whether the node is an element or an xsd type within the definition. An e icon indicates elements and a miniature 2-node tree-like icon indicates types.

      2. Select a source for the definition of the complex parameter and click OK.

        The Complex type field displays the location and name of the source defining the complex parameter and indicates if the parameter is defined from an element or xsd type node. For example:

        ="/demoProcess/Order.xsd#//xsd:schema[@targetNamespace='www.sybase.com']/xsd:element[@name='Order']"

        Where Order.xsd is the xsd file name and Order is the element name.

        Using the element corresponding to the message part of an operation from a service definition file (.svc_java or .svc_soap) or WSDL as the source of a complex parameter definition can be especially convenient when Assigns are required between business process interface variables and service invocation variables. The match between the parameter definitions allows an Assign action to use part nodes from the parameters as the source and the target for easy transfer of data between variables. In the Variable Reference Dialog, which is used when constructing the Assign, the part node is immediately below the operation node and is recognizable by the arrow icon beside it.

    Note

    If you browse to locate the definition of the complex parameter and no sources are shown, verify that the correct source is in the project or a referenced project.

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

Defining Service Operation Parameters for a Business Process Service

Service Operation

Service Interface

Java Service

SOAP Service

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