ebXML Module 7.1 SP1 | Understanding and Using webMethods EBXML Module | Installing and Using ebxml Module | Working with CPAs, TN Document Types, and Processing Rules | Exchanging Business Documents: User Scenarios | Multi-Hub Messaging in the e-Marketplace
 
Multi-Hub Messaging in the e-Marketplace
The following diagram illustrates a message exchange among three parties: Trading partner A, the e-marketplace, and trading partner B. For this example, assume that trading partner A sends the e-marketplace an EDI purchase order. The e-marketplace maps the EDI purchase order to an XML purchase order and forwards it to trading partner B. Trading partner B responds with an ebXML acknowledgment. The e-marketplace converts the acknowledgment to an EDI 997 and forwards it to trading partner A.
Multi-Hub Messaging in the e-Marketplace
Trading partner A, the e-Marketplace (C1), and trading partner B negotiate and create three CPAs: one for the "trading partner A/e-Marketplace" relationship, one for the "e-Marketplace/trading partner B" relationship, and one for the "trading partner B/ trading partner A" relationship. See the CPA lines that connect the three parties in the diagram. After the parties create their respective CPAs, the following occurs:
*From the "trading partner B/trading partner A" CPA and the "trading partner A/ e-Marketplace" CPA, trading partner A creates three Trading Networks profiles (one for each party) and two TPAs, TPA_A_C1 (for the "trading partner A/e-Marketplace" relationship) and TPA_A_B (for the "trading partner B/trading partner A" relationship).
*From the "trading partner A/e-Marketplace" CPA and the "e-Marketplace/trading partner B" CPA, the e-Marketplace creates three Trading Networks profiles and two TPAs, TPA_A_C1 (for the "trading partner A/e-Marketplace" relationship) and TPA_C1_B (for the "e-Marketplace/trading partner B" relationship).
*From the "e-Marketplace/trading partner B" CPA and the "trading partner B/trading partner A" CPA, trading partner B creates three Trading Networks profiles and two TPAs, TPA_C1_B (for the "e-Marketplace/trading partner B" relationship) and TPA_A_B (for the "trading partner B/trading partner A" relationship).
*If any security measure is required, the parties configure the related certificates for all Trading Networks profiles.
All three parties are now ready to trade.
Note:
To accomplish multi-hop messaging, you must set up your TPAs in a specific way. To find out how to configure your TPAs for multi-hop messaging, see previousMSH, nextMSH, senderMSH, and receiverMSH in Multi-hop Messaging.