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:
Open the EJB service that you want to edit using the EJB service editor.
Select the Interface tab.
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.
Click Add.
The New Parameter window opens.
Enter the following:
New Parameter
Property | Description |
---|---|
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. NoteAfter you select the complex type, you can also view its underlying schema. |
Style | Select the parameter type:
|
Click OK to save your definition and close the New Parameter window.
The definition properties populate the Properties window.
Click OK again to close the Operation Parameters window.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com