Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 4 HIPAA Transactions Tutorial : Configuring the Trading Partner Machine

Configuring the Trading Partner Machine
The following sections describe how to configure TIBCO BusinessConnect EDI Protocol HIPAA Edition powered by Instream on the trading partner machine for running this tutorial.
Load Guidelines and XSDs
The first step in configuring the trading partner machine is to load the guidelines and XSDs. For this tutorial, the procedure for loading the guidelines and XSDs is the same on both the Trading Host machine and the Trading Partner machine. The example interface HIPAA-RT-00401-270-271.csx should be used on both the Trading Host machine and the Trading Partner machine.
Follow the steps explained in Review Guidelines and Load Guidelines and XSDs.
Configure the Trading Host on the Trading Partner Machine
To configure the trading host on the trading partner machine, you need to create the trading host and configure the protocol for the trading host.
Create the Trading Host on the Partner Machine
To create your trading host and set it as the default host, do the following:
1.
Click BusinessConnect>Participants in the left panel.
2.
Click New in the right panel.
3.
Type Company2 in the Participant Name field.
4.
Select Host in the Participant Type drop-down list.
5.
Click OK.
6.
Check the Active checkbox.
Configure the Host Protocol on the Partner Machine
For this tutorial, you are going to disable all protocols except for the X12 protocol. The interchange qualifier and ID will then be configured for the X12 protocol.
 
Task A Enabling The X12 Protocol
1.
Click the Protocols tab.
2.
Check the EZComm, Service, EDIFACT, TEXT, TRADACOMS, and Gateway check boxes.
3.
Click Disable. This will leave only X12 on the list.
Task B Setting The Interchange Qualifier and ID
1. Click the X12 link.
2. Click the Add New link next to the Default Interchange Qualifier ID field.
3. Click Add New.
4. In the Interchange Qualifier drop-down list, select 01.
5. In the ID field, type 987654321.
6. Click Save.
7. Click OK.
8. In the Default Interchange Qualifier ID drop-down list, select 01-987654321.
9. Click Save twice.
Configure the Trading Partner on the Trading Partner Machine
To configure the trading partner on the trading partner machine, you need to create the trading partner and configure the protocol for the trading partner.
Create the Trading Partner on the Partner Machine
To create the trading partner and enable the X12 protocol, do the following:
1.
Click the BusinessConnect>Participants link in the left panel.
2.
Click New in the right panel.
3.
Type Company1 in the Participant Name field.
4.
Select Partner in the Participant Type drop-down list.
5.
Click OK.
6.
Check the Active checkbox.
Configure the Partner Protocol on the Partner Machine
To configure the protocol for the trading partner, perform these subtasks as describe below:
 
Task A Enable the X12 Protocol
1.
Click the Protocols tab.
2.
Click Enable.
3.
Check the X12 checkbox.
4.
Click OK.
Task B Set the Interchange Qualifier and ID
1.
Click the X12 link.
2.
Click the Add New link next to the Default Interchange Qualifier ID field
3.
Click Add New.
4.
5.
6.
Click Save.
7.
Click OK.
8.
9.
Click Save.
Task C Enable Outbound EDI Validation
To enable outbound EDI validation:
1.
Click the X12 link.
2.
Locate the Outbound settings section at the bottom of the General tab.
3.
Check Enable EDI Validation.
Task D Set the Transport
To set the transport:
1.
Click the Transports tab.
2.
Click Add.
3.
Type HTTP in the Transport Name field.
4.
Select HTTP from the Transport Type drop-down list.
5.
6.
7.
Click Save three times.
Configure the Business Agreement on the Trading Partner Machine
1.
Click the BusinessConnect>Business Agreements link in the left panel.
2.
Click New in the right panel.
3.
Select the Company2 radio button in the Host Party area and the Company1 radio button in the Partner Party area.
4.
Click OK.
5.
Click Add Protocol Bindings.
6.
Check the X12 checkbox.
7.
Click OK.
8.
Click the X12 link.
9.
Select the Transports tab.
10.
Verify that HTTP is selected in the Primary Transport drop-down list in the Outbound Transports for Host ’Company2’ area.
11.
Click Save twice.
Configure the Private Process on the Trading Partner Machine
TIBCO BusinessConnect EDI Protocol powered by Instream contains a simple program which when signaled will send response XML to TIBCO BusinessConnect. We are going to use this simple program as the private process on our trading partner machine and configure it to send a 271 response transaction.
You can locate the executable file that runs our simple private process here:
BC_HOME\protocols\tibedi\samples\scenario\receiver\edircv.exe.
To configure our private process to return a 271 response transaction, do the following:
1.
Open the file edircv.tra using a text editor.
2.
tibco.env.INSTALLATION_NAME=
specifying the name of your BusinessConnect installation on the trading partner machine. The installation name has the form BC-domain name.
3.
tibco.env.XML_FILE= ,
specifying the XML filename as:
BC_HOME\protocols\tibedi\samples\sampleDocs\datafiles\4010_271.xml
4.
tibco.env.OPID=
and specify operation ID as 00401/004010X092A1/270
5.
tibco.env.TX_NAME=
and specify the transaction name as: 271.
6.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved