Any B2B messages will have sender and receiver IDs in their headers. These IDs, along with some Qualifier fields, uniquely identify a trading partner. Any EDI engine should be capable of reading these header values and resolving the corresponding configuration. To help this kind of partner resolution, we have to create a partner entity. These partner entities must be created for both the host and trading partners.
In the Contoso-SupplyChain integration account, we have to create two trading partners, named Contoso and ShipAnyWhere:

The qualifiers need to be agreed between the trading partners, and they will be used in the EDI messages. The following is our sample EDI header:

Since we are planning to exchange messages over AS2, we will also need to add AS2Identities for both partners. The following screenshot shows that Contoso_AS2...