Every service in a services package profile must be bound to an endpoint. For both the Sybase Services Package Profile editor and the EAServer 5.x Services Package Profile editor, use the Endpoint Configuration page to modify existing endpoint bindings that were defined during service development. If a service was defined with a logical endpoint, it must be bound to a physical resource before you can deploy the package.
The Endpoint Configuration page of the Sybase Services Package Profile editor or the EAServer 5.x Services Package Profile editor is divided into these sections:
Included Services | Lists all of the services included in the package profile. When you click to select a service, the contents of the Endpoint Bindings section changes. |
Endpoint Bindings | Displays each interface defined for the selected service. If the service has been bound to an endpoint, this information is displayed. |
Endpoints | Provides a cumulative listing of all endpoints defined for services in the package profile. The endpoint type and project location of the endpoint profile is noted. |
Use the Endpoint Configuration page to manage the endpoints used by services included in the package profile. Select the service in the Included Services section and make the changes in the Endpoint Bindings section.
To set a binding:
When you select an interface node in the Endpoint Bindings section, Bind Endpoint is enabled so you can specify a new binding for the selected interface. You can either select an endpoint from the Select Endpoint dialog that lists all endpoints that have been defined in this package for this port type, or you can click New.
The New Endpoint wizard walks you through adding a new endpoint.
For some service types, such as a SOAP service, the binding is defined during service development and cannot be changed or modified in the package profile. In this case, the Bind Endpoint and Configure Binding buttons are disabled.
To remove a binding:
Select the binding and click Remove Binding.
You cannot remove a service binding that was defined using the service editor, but you can modify the endpoint and configuration associated with the endpoint.
To change a binding:
Select the binding and click Bind Endpoint. The Select Endpoint dialog displays.
Configure properties for the endpoint:
Configure Binding is enabled when you select a node that supports configuration. Depending on the service type, you may be able to edit the configuration of the following:
An interface node such as Port Type
An implementation endpoint such as a database connection profile.
For a non-EAServer 5.x package profile, a binding node such as JMSBinding.
Only Java bindings are used for an EAServer 5.x Services Package Profile.
The Properties for dialog provides a list of changes you can make.
Changes that you make to the endpoint configuration on this editor page are reflected in the package profile file (<file name>.svcpkgdef for services or <file name>.axispkgdef for EAServer 5.x) in the WorkSpace Navigator. Endpoint configuration defined for the package profile is not reflected in the service profile.
Connection profile properties can be modified after developing a service bound to an endpoint associated with the connection profile. At the time the services package is created, packager attempts to refresh connection properties while generating the meta-data within ear files for packages containing such services. For the refresh to succeed, certain connection profile types and transports that can be used as endpoints, such as JMS, require that the server identified by the profile be accessible.
If the server is unavailable, as is the case when the server is down or the when the server subnet is not reachable, the packager uses the original connection properties and issues a warning message identifying the problem.
An unsuccessful refresh of the properties can cause a deployed package to not operate as expected.
Next: After completing endpoint configuration:
For services package profile, go to Managing Transports used for Access Configuration.
For EAServer 5.x services package profile, go to Updating EAServer 5.x Services Package Profile Contents.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com