Adding a Service Endpoint to a Message Service

To run a message service, you must configure a way to connect to the external messaging system. An endpoint provides this connection, or binding, between the service and the external messaging system.

Consider the following:

To add an endpoint to a message 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 Message Transports node to locate the connection profile.

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

  3. Click to select the queue to be used as the service endpoint.

  4. 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.

Use the New Messaging Endpoint Wizard: Use this method if you are adding an Email messaging type endpoint, if a connection profile is not available, or if you want to add a logical endpoint.

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

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

    The New Messaging Endpoint wizard opens to guide you through adding a new messaging endpoint.

  3. Select the endpoint type: Server or Logical.

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

  5. Select the messaging type. Click Next.

  6. Specify the connection properties for the messaging type. Click Next.

    • Select Reference from Enterprise Explorer to specify the endpoint defined by an FTP, File, or JMS connection profile. Click Browse to locate the appropriate connection profile.

      After the connection profile is selected, the table displays the profile's connection properties so that you can verify they are correct.

      Note

      If you are using a JMS connection profile, verify that the Initial Context Factory and Queue Connection Factory properties are correct for your JMS provider type and site implementation. Some JMS providers allow multiple names for these properties.

    • Enter User Specified connection properties. You must use this option to define connection properties for Email messaging types.

  7. Set the runtime properties for the messaging type. The Runtime Properties that can be set depend on the properties for the messaging type.

  8. Review the information on the Summary page and click Finish.

    The endpoint is added to the interface.

To edit an endpoint for a message service:

  1. Right-click on the endpoint in the Service Interface diagram and select Edit Endpoint. The Edit Messaging Endpoint Wizard opens.

  2. Complete the Edit Messaging Endpoint Wizard and click Finish to complete the changes.

    Note

    As you work through the wizard, verify that the Endpoint Name is set correctly by the wizard.

Next: Adding a Service Operation for a Message Service

Endpoint Types

Message Services Introduction

Developing a Message Service

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