Defining a Java Service Endpoint Binding

Define Java endpoint binding operation parameters and properties.

You can bind a service-type endpoint either when you create the service, or from the Service editor. A Java service endpoint must be a Java class or source file that implements public methods that match all the operations in the service interface. By default, the service endpoint matches the name of the Java source file or class file that you specify when creating the service. In most configurations, there is no need to change the default setting. However, if you create the service from a Java interface, you must specify a Java class that implements the interface as the service endpoint.

  1. Do one of the following:
    • If the service needs to be bound to an endpoint:
      1. Right-click the Interface box in the Service Interface diagram and select Add Endpoint.
      2. Select Java as the endpoint style and click Next.
      3. Follow the instructions in the wizard.

        If you select to specify connection properties for the Java class in the wizard, specify any JAR files or file system directories that must be added to the class path to load dependent classes.

        If you are defining a service from an existing Java class or source file, add any items that are required in the runtime or compile-time class path.

    • If the service is already bound to a Java endpoint, on the Service Interface page of the Service editor, double-click either the line connecting the interface and binding or the binding and the endpoint, or right-click and select Edit Binding.
  2. Edit or add operations as necessary in the Service Binding editor.
Related tasks
Adding a Classpath Folder or Library Dependency

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.