This content has been marked as final. Show 1 reply
How can I go about settin up two agreements with the same trading partners and document defitnition but different identifiersCreate only one agreement and make sure to include all possible identifiers in TP profile. From back-end, while sending message, set the appropriate identifier in B2B headers. For example, if there is a TP MarketInc which has two AS2 Identifiers MI1 and MI2 so while sending message from back-end set below headers -
TO_PARTY=AS2Identifier:MI1 or TO_PARTY=AS2Identifier:MI2 (if using JMS) OR
TO-PART_ID_TYPE=AS2Identifier and TO_PARTY_ID_VALUE=MI1 or TO_PARTY_ID_VALUE=MI2 (if using AQ) OR
b2b.toTradingPartnerIdType=AS2 Identifier and b2b.toTradingPartnerId=MI1 or b2b.toTradingPartnerId=MI2 (if using default/fabric mode of integration)
The identifiers passed from back-end will override the identifier values selected in the agreement configuration.
Headers which can be passed from back-end are defined here -