Adding a Service Operation

You can add an operation to a service interface directly from the service interface page or from the Service Explorer.

To add a service operation:

  1. Open the service that you want to add an operation to.

  2. Choose from the following:

    • Select the Service Interface tab to open the Service Interface page in the editor. Right-click the service interface and select Add Operation from the context menu.

    • Open the Service Explorer and expand the service you want to add to display its operations. Drag an operation from the Service Explorer and drop it onto the service interface.

  3. Select an operation in the service interface to display its properties in the Properties panel.

    Edit any of the following default properties:

    Operation properties

    PropertyServiceDescription

    Name

    Business Process

    Rename the operation from the default name to a meaningful name.

    Description

    Business Process

    Provide an internal description, such as an explanation of this operation.

    Input Message Name

    Business Process

    Provide the name of the input message.

    Output Message Name

    Business Process

    Provide the name of the output message.

    Visible

    Business Process

    Sybase recommends that the default setting Visible is used.

    See Defining a Private Service operation for more information.

  4. Save the service. Select File|Save As from the menu bar.

Adding an EJB Service Operation

Adding a Service Operation to a Java Service

Adding a Service Operation for a Message Service

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