Reference: Example Package Bindings File

Warning: Modify the binding file as described here. In particular, changes must be limited to editing the value of the 'serviceBinding' and 'portBinding' attributes for <endpoint> elements that are children of the <endpoints> element. Changes other than those described here may cause failure during the deployment process.  

The contents of the exported bindings file is a simple XML structure that identifies each service interaction used within a package. You can customize bindings for the service interactions by inserting a value for the serviceBinding attribute or by changing an existing value. This is identical to the result of selecting a new or different port as described in Binding Service Endpoints.

NOTE: Sybase recommends that users only make modifications to the binding document as described here. Any changes to other portions of the file may result in failure during the   deployment process.

In the following example, we will modify a single <endpoint> element so that the unbound out.iface endpoint will be set to reference a port called "out_port", which in turn will refer to a messaging transport endpoint called "out_queue".

before:

    <endpoint id="Services/out.iface" name="Services/out.iface"

        portType="{http://schemas.sybase.com/ebd/eai/es/ot/V1.0}pt"

        operation="output" localWsdl="Services/out.wsdl"

        definition="{http://schemas.sybase.com/ebd/eai/es/ot/V1.0}out"

        tModelKey="" registry="" portBinding="" serviceBinding="" wsdlURL="local"/>

after:

    <endpoint id="Services/out.iface" name="Services/out.iface"

        portType="{http://schemas.sybase.com/ebd/eai/es/ot/V1.0}pt"

        operation="newOperation" localWsdl="Services/out.wsdl"

        definition="{http://schemas.sybase.com/ebd/eai/es/ot/V1.0}out"

        tModelKey="" registry="" portBinding="out_port"

        serviceBinding="{http://schemas.sybase.com/ebd/eai/es/ot/V1.0}out_queue" wsdlURL="local"/>