Editing Java Service Operation Parameter Lists

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.

The service operation parameters specify the parameter and return types of the corresponding Java method. To add or remove service operation parameters:

  1. On the Service Interface page, expand the Operation Parameters section. This section displays a summary table of the existing parameters and return value with the columns described in the following table.

    Operation parameters summary columns

    Column Description
    Name

    Displays the parameter name and an icon to show the parameter type:

    • The right-facing arrow icon indicates an input parameter.

    • The left-facing arrow icon indicates an output parameter.

    • The fault icon indicates a fault. Faults in the WSDL interface are based on the Java exceptions declared in the Java method's throws clause.

    A Java service operation can have only one output parameter in the operation signature. This parameter specifies the return type of the corresponding Java method.

    DatatypeThe datatype or Java class name of the parameter or return value.
    DescriptionAn optional description of the parameter or return value.
  2. Click Add to add a parameter or return type. To remove a parameter or return value, highlight the corresponding column and click Delete.

Editing Java Service Operation Parameter Properties

Browsing for Java Datatypes

Editing the Java Source Code for a Service

Adding a Service Operation to a Java Service

Java Service Datatypes

Supported Java Exceptions

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