Use the New Service wizard to create a message service.
To create a message service:
In the Service Development perspective, select File|New|Service from the main menu bar to open the New Service wizard.
For other ways to access the New wizard, see Wizards
Select Message Service and click Next.
Enter or select the project that uses this service.
Type a unique and descriptive name in the File Name field and click Next.
The Service Overview page appears.
In the Service Information pane, complete the following:
Service information
Field | Description |
---|---|
Name | Edit the file name. The wizard automatically enters the same name as the service file in your project. It is recommended that you keep the names consistent for easy reference in the future. NoteSybase WorkSpace does not support the use of the # character in a service file name. |
Category | Enter a new category, or select an existing category from the drop-down list. If you plan to create multiple services, it is recommended that you group services into meaningful categories. |
Description | Provide an internal description, such as an explanation of how and where this service is used. You can also add notes for other developers who may implement this service. |
Choose one of the following:
From the Service Overview page, click Finish to complete the service creation.
The service file appears in the WorkSpace Navigator and the Message Service editor opens. Use the editor to define the message service interface.
Click Next.
The Service Binding Creation page appears.
Choose one of the following:
For additional information about endpoint binding, see Choosing an Endpoint Binding Strategy.
Yes, create an endpoint now.
Creating a service binding at this point is optional. Choose this option if you know the following:
The endpoint to which the service is to be bound.
If you plan to use an EAServer JMS transport as the message service endpoint, it is recommended that you define queues instead of using the EAServer default queues. See the EAServer collection under Sybase WorkSpace Server Administration for more information on using EAServer Manager to add a message queue.
That a connection profile has been defined or the connection property values for the messaging type.
The values for runtime properties for the messaging type.
If you create an endpoint now for the service, you can change the binding to another endpoint later during services package profile development or deployment profile development.
No, create an endpoint later.
Choose this option if you do not know the endpoint to which the service is to be bound.
If you choose this option, after you click Next, review the information on the Summary page and click Finish. To edit a value, click Back.
Click Next.
Type a name for the endpoint and click Next.
Select one of the following messaging types and click Next:
JMS
File
FTP
SMS
Specify the connection properties for the messaging type and click Next.
Select Browse for a valid endpoint in the Enterprise Explorer to specify the endpoint defined by an FTP, File, or JMS connection profile.
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.
Set the runtime properties for the messaging type.
The Runtime Properties that can be set depend on the properties for the messaging type.
Review the information on the Summary page and click Finish.
The service file appears in the WorkSpace Navigator and the Message Service editor opens. Use the editor to define the message service interface.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com