Editing the Java Source Code for a Service

The Source page in the Java Service editor allows you to edit the Java prototype and implementation of the service operations. If you change the prototype of methods that are exposed as interfaces, the service editor makes equivalent changes to the service interface. The mapping of the Java public methods to methods exposed in the service interface is controlled by SWS Javadoc Comments in the Java source code.

The Java source must be valid in order for changes to appear in the service interface. If you modify the source inside the service editor, you do not need to save the file to see the changes applied to the service interface.

If the source view shows unresolved class or type errors, check the spelling of the class references and package import statements, and make sure the JAR files or class directories that contain these classes are in the project's Java Build Path.

Adding a Service Operation to a Java Service

Removing a Service Operation from a Java Service

Editing Java Service Operation Properties

Editing Java Service Operation Parameter Lists

Developing a Java Service

Java Source Editor Content Assist

SWS Javadoc Comments

Java Service Datatypes

Supported Java Exceptions

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