Adding an Endpoint for a Database Service

To run a database service, you must connect to a supported database. A JDBC endpoint provides this connection, or binding, between the service and the target database.

Consider the following:

To add an endpoint to a database service:

Choose from the following methods.

Drag-and-Drop from a Connection Profile

Use this method if you have a connection profile readily available.

  1. Select the Service Interface page in the service editor.

  2. In the Enterprise Explorer, expand the Databases node to locate the connection profile.

    If a connection has not been made, right-click and select Connect to connect to the database and display its contents.

  3. Drag the endpoint from the connection profile in the Enterprise Explorer to the interface object in the service diagram.

    The endpoint graphically displays in the service diagram.

  4. To edit the endpoint, right-click and select Edit End Point.

    The New JDBC Endpoint Wizard appears.

New JDBC Endpoint Wizard

Use this method if a connection profile is not available, to add a logical endpoint, or to edit an existing endpoint in the service diagram.

  1. Select the Service Interface page in the service editor.

  2. Right-click on the Interface page and select Add Endpoint.

    The New JDBC Endpoint wizard opens.

  3. Select the endpoint type: server or logical.

  4. Enter a meaningful name for the endpoint and click Next.

  5. Specify the JDBC connection properties for the endpoint:

    1. Select Browse for a valid endpoint in the Enterprise Explorer and click Browse.

    2. Select a JDBC connection profile and click OK.

  6. To expose stored procedures as operations on the selected endpoint, select one or more of the available stored procedures listed.

  7. Click Next to view the Summary.

  8. Click Finish.

    The new endpoint is added to the interface and a series of new operations are added for the selected stored procedures.

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