Defining Operation Parameter Properties for a Transformation Service

After you add an operation parameter, you must define its properties. Each property represents a content model and must be set to either input or output. All operation parameters are complex types.

To define a service operation parameter:

  1. In the Transformation Service editor, click the Service Interface tab.

    The Transformation Service Interface page of the editor displays.

  2. Click in the transform operation box, for example, transformMyTransformService.

  3. Note

    A transformation service can have only one operation.

  4. Expand the Operation Parameters section.

  5. Select the operation parameter that you want to use.

  6. In the Properties section or Properties Panel view, edit the following information:

    Operation parameter properties

    FieldDescription
    NameRename the schema if necessary, for example, OrderSummary.xsd. The name is used only in this service.
    DescriptionEnter an internal description, such as an explanation of how this schema is used in this service.
    StyleChoose one of the following:
    • Input

      Select if this is a source content model.

    • Output

      Select if this is a destination content model.

    Data TypeClick 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 content model. click OK.

      Be sure you select the root element.

      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.

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

Service Operation

Service Interface

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