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.
To change the name and other properties of a service operation:
If the Properties Panel is not visible, display it by right-clicking in the background of the Service Interface page and choosing Show Properties Panel from the context menu.
Highlight the operation of interest. The properties display in the Properties Panel. The following table describes the operation properties. You can edit the fields in the Properties Panel.
Java Service Operation Properties
Property | Description |
---|---|
Name | Specifies the operation name. Changing the name in the Properties Panel changes the corresponding method name in the Java source and vice-versa. |
Description | Specifies an optional description of what the operation does. |
Input Message Name | Specifies the input message name to be specified in the WSDL for the service interface. If you do not specify a value, the default is operation1request. |
Output Message Name | Specifies the output message name to be specified in the WSDL for the service interface. If you do not specify a value, the default is operation1response. |
Visible | Specifies whether the operation is exposed in the deployment interface for the service. If the operation is not visible, it is exposed in the design-time interface but removed from the interface of the deployed service. |
Editing the Java Source Code for a Service
Adding a Service Operation to a Java Service
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com