To exchange EDI messages with two recipients that use the same ISA5, ISA6, ISA7, and ISA8 segments, use the GS segment values to create custom GS envelopes.
Note The ISA5 segments, the ISA6 segments, the ISA7 segments, and the ISA8 segments remain the same because the party is the same for both recipients.
Send a message
To send EDI documents to two recipients at the same party, follow these steps:
- Deploy the schema for the EDI message two times. Configure each schema to use a different namespace. For example, configure one schema to use the "http://namespace1" namespace. Configure the second schema to use the "http://namespace2" namespace.
- Start the BizTalk Server 2006 Administration console.
- Expand BizTalk Server 2006 Administration, and then expand BizTalk Group.
- Click Parties, right-click the party that you want, and then click Properties.
- Click GS and ST Segment Definition.
- Under Transaction set specific group header (GS) in the details pane, create a custom GS envelope for one transaction set. To do this, click the schema that you want under Target namespace, and then configure the GS values for the transaction set. For example, under GS2, type a unique value for the first department.
Note The target namespaces appear after the schemas are deployed. - Under Transaction set specific group header (GS) in the details pane, create a custom GS envelope for the second transaction set. To do this, click the schema that you want under Target namespace in the new table entry, and then configure the GS values for the second transaction set. For example, under GS2, type a unique value for the second department.
Receive a message
To receive EDI documents from two units at the same party, follow these steps:
- Deploy the schema for the EDI message two times. Configure each schema to use a different namespace. For example, configure one schema to use the "http://namespace1" namespace. Configure the second schema to use the "http://namespace2" namespace.
- Start the BizTalk Server 2006 Administration console.
- Expand BizTalk Server 2006 Administration, and then expand BizTalk Group.
- Click Parties, right-click the party that you want, and then click Properties.
- Click X12 Interchange Processing Properties.
- Under Enable custom transaction set definitions in the details pane, create a custom GS envelope for one transaction set. To do this, click the schema that you want under Target namespace, and then configure the GS2 value for the transaction set. For example, under GS2, type a unique value for the first department.
Note The target namespaces appear after the schemas are deployed. - In the details pane under Enable custom transaction set definitions, create a custom GS envelope for the second transaction set. To do this, click the schema that you want under Target namespace in the new table entry, and then configure the GS2 value for the second transaction set. For example, under GS2, type a unique value for the second department.