Editing Java Service Operation Parameter Properties

You can edit service operation parameter properties.

You can edit service operations on the Service Interface page of the Java Service editor. The editor makes corresponding changes to the Java method prototype when you change a service operation name or parameters. You can also edit the method prototypes directly in the Java source code.

  1. On the Service Interface page, expand the Operation Parameters section.
  2. Expand the Properties section.
  3. Select the parameter and edit its properties.

    The following table lists the properties.

    Table 1. Java Service operation parameter properties
    Property Description
    Name The parameter name. For input parameters, this matches to the name of the corresponding Java method parameter.
    Description An optional description of the parameter.
    Style Input indicates an input parameter. Output indicates that this parameter specifies the Java method return type.

    Operations can have only one Output parameter, since Java methods can return only one value. Consequently, you cannot change this setting if an output parameter is specified in the operation signature. To change which parameter specifies the return type, change the existing output parameter to an input parameter, then modify the properties of the parameter that will become the new output parameter.

    Datatype The parameter or return value datatype. Choose Complex Type to specify a Java class that is not listed. You can only use xsd files to specify a complex parameter in service parameter properties editor.

    To specify a class name as a Java service parameter type, you must edit it in the source.

    To browse for a Java class name, click Browse for Complex Type.

Related tasks
Browsing for Java Parameter or Return Value Types
Editing Java Service Operation Parameter Lists

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.