ebXML Module 7.1 SP1 | Understanding and Using webMethods EBXML Module | Installing and Using ebxml Module | ebXML Module Messaging Features | Reliable Messaging | Enabling ebXML Module to Use Reliable Messaging
 
Enabling ebXML Module to Use Reliable Messaging
*To configure ebXML Module for reliable messaging
1. Start the Trading Networks Console.
2. Open the agreement for edit:
a. From Trading Networks Console, select View > Agreements.
b. Select the agreement you would like to edit. ClickEdit.
The Agreements Details screen appears.
c. On the right side of the Agreement Details screen, click Set Inputs.
The input for com.wm.estd.ebxml.documents appears.
Note:
You can edit the TPA parameters in an agreement only if the Agreement Status is Proposed. For information about changing the TPA agreement status, see the webMethods Trading Networks Administrator’s Guide for your release.
3. Modify the default TPA parameters, as necessary. For a list of the TPA parameters and the valid values for individual parameters, see Trading Partner Agreement Parameters Version 2. 0 and Trading Partner Agreement Parameters Version 2. 0.
4. Update the settings in the TPA structure to enable reliable messaging as shown:
*If you are using ebXML Message Service Version 1.0 Specification, set the following example values for the parameters:
Parameter
Value
CollaborationProtocolAgreement.PartyInfo.DocExchange.ebXMLBinding.ReliableMessaging:deliverySemantics
OnceAndOnlyOnce
CollaborationProtocolAgreement.PartyInfo.DocExchange.ebXMLBinding.ReliableMessaging:deliveryReceiptRequested
None
CollaborationProtocolAgreement.PartyInfo.DocExchange.ebXMLBinding.ReliableMessaging:Retries
4
CollaborationProtocolAgreement.PartyInfo.DocExchange.ebXMLBinding.ReliableMessaging:RetryInterval
30
CollaborationProtocolAgreement.PartyInfo.DeliveryChannel.Characteristics:ackRequested
true
For information on each of the parameters and their values, see Trading Partner Agreement Parameters Version 2. 0.
*If you are using ebXML Message Service Version 2.0 Specification, set the following example values for the parameters:
Parameter
Value
CollaborationProtocolAgreement.PartyInfo.DeliveryChannel.MessagingCharacteristics:duplicateElimination
always
CollaborationProtocolAgreement.PartyInfo.DocExchange.ebXMLSenderBinding.ReliableMessaging:Retries
4
CollaborationProtocolAgreement.PartyInfo.DocExchange.ebXMLSenderBinding.ReliableMessaging:RetryInterval
30
CollaborationProtocolAgreement.PartyInfo.DeliveryChannel.MessagingCharacteristics:ackRequested
true
For information on each of the parameters and their values, see Trading Partner Agreement Parameters Version 2. 0.
5. After enabling reliable messaging by updating the TPA, the ebXML Module ensures that the message is sent reliably to the receiver MSH. Reliable Messaging depends on the sender MSH receiving the acknowledgment message from the receiver MSH. If the acknowledgment message does not reach the sender MSH, the ebXML Module re-sends the message for the defined number of maximum retries, which are triggered for a defined retry interval, until the ebXML Module delivers the message.
6. For a Reliable message delivered, TimeToLive is computed as:
TimeToLive = Timestamp in the message header + ((Retries + 1) * RetryInterval)
Note:
If you want the receiver of a message to send back a transport-level acknowledgment, set the ackRequested parameter to true.