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 tab in the service editor.

  2. In the Enterprise Explorer, expand Message Transports and 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 use 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.

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 tab in the service editor.

  2. Right-click on the Service 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. Type a meaningful name for the endpoint and click Next.

  5. Select the messaging type and click Next.

  6. Specify the connection properties for the messaging type.

    • Select Browse for a valid endpoint in the Enterprise Explorer to specify the endpoint defined by an FTP, File, or JMS connection profile. Click Browse to locate the appropriate connection profile.

      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.

    • Select Specify the endpoint properties and press Enter to enable the Next button, and enter User Specified connection properties.

      You must use this option to define connection properties for Email messaging types.

  7. Click Next.

  8. Set the runtime properties for the messaging type.

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

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

    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

Developing a Message Service

Endpoint Types

Message Services Introduction

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