Endpoint Binding Strategy Examples

Before you develop your service, consider the type of binding strategy you want to use. The strategy you choose depends on your environment. Use these examples to help determine the appropriate binding strategy.

Table 1. Endpoint binding examples
Binding example Description
Service Development Binding and Deployment Profile

In this example, you are developing a single service that will be deployed multiple times with the same endpoint in a test environment before deploying the service one final time to a runtime environment. The binding strategy could a combination of Service Development Binding and Deployment Binding.

Service Development Binding binds the service to the endpoint in a test environment and this setting is maintained through multiple iterations of test deployment. The service definition stores the binding information, eliminating the need to define the binding each time the package is created or each time the package is deployed in the test environment.

When the service is then deployed to a runtime environment, the binding is set and maintained using Deployment Profile Binding. Whenever the package is deployed using the runtime deployment profile, the runtime binding overrides the binding in the service profile.

Package Profile

In this example, you are developing multiple services that will be packaged together. The services will be reused for other packages as well.

Using a Package Profile Binding strategy allows you to develop the services independent of any binding settings and move management of binding to the package level. By using this strategy, binding is set in the package profile.

Deployment Profile

In this example, a single package is deployed to multiple servers, each using a different endpoint, or multiple packages are deployed to the same server.

The Deployment Profile Binding allows you to bind to the endpoint a single time during deployment profile definition rather than for each service or for each package.

Note: Service Development Binding or Package Profile Binding

If you are deploying a package in an environment outside the Sybase WorkSpace deployment framework, such as using the command link interface of the Unwired Service Command and Control component. In this case, you must bind during service development or during package profile definition.

Related concepts
Endpoints
Endpoint Binding Overview
Related reference
Endpoint Types
Endpoint Binding Types

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.