Defining an EJB Service Operation Parameter

Define EJB service operation parameters using the service editor. If you plan to define the service operation parameter as complex, you must import the schema before you begin this procedure.

To define an EJB service operation parameter:

  1. Open the EJB service that you want to edit using the EJB service editor.

  2. Select the Interface tab.

  3. Right-click on the service operation that you want to define a parameter for, and select Parameters from the context menu.

    The Operations Parameters window opens.

  4. Click Add.

    The New Parameter window opens.

  5. Enter the following:

    New Parameter

    PropertyDescription

    Name

    Enter a unique and descriptive name for the parameter.

    Description

    Enter a brief description of the parameter, and identify if it is an input, output, or fault parameter.

    Type

    Choose from the following:

    Click Simple Type, and select an option from the drop-down list.

    Click Complex Type, and click ... to select a schema from your project Resources list.

    Note

    After you select the complex type, you can also view its underlying schema.

    Style

    Select the parameter type:

    • Input

    • Output

    • Fault

  6. Click OK to save your definition and close the New Parameter window.

    The definition properties populate the Properties window.

  7. Click OK again to close the Operation Parameters window.

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