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


Chapter 2 Tutorials — Getting Started : Running the Tutorial

Running the Tutorial
In this tutorial you will use TIBCO ActiveMatrix BusinessWorks and TIBCO BusinessConnect B2BPlugin for CMI running on one machine to send an X12 850 purchase order transaction to a trading partner.
Normally the trading partner is represented by another B2B engine running on another machine. However, this tutorial is run on a single machine and when the 850 transaction is sent to the trading partner, the transport properties are defined to store the request in a directory on the local file system.
The transaction set identifier information is as follows:
When you run the tutorial, the following steps will occur:
1.
TIBCO Designer will send the EDI data to TIBCO BusinessConnect B2BPlugin for CMI.
2.
3.
The FILE transport will be used to simulate sending the interchange to the trading partner. By using the FILE transport, the B2B-X12 interchange will be written to a file on the local file system when it is sent to the trading partner.
Process Types
The X12_850 project contains several processes in two folders: B2B-X12 Message Processes and Error Advisory Processes.
The B2B-X12 Message Processes folder contains the following processes:
Send Request Process  Reads an X12 850 document from a file and sends the document to BusinessConnect using the Send Request notification activity.
This folder contains process that would be activated if TIBCO BusinessConnect were to send out any advisory messages during the processing of the 850 transaction.
Receive General Error Advisories  Shows how to use the activity BusinessConnect Receive Misc Msg to receive the General Error Advisory messages from BusinessConnect.
For more information on when TIBCO BusinessConnect would send out a general error advisory, refer to the TIBCO BusinessConnect B2BPlugin for CMI, User’s Guide.
Send the Request Process Transaction
To see the 850 transaction, select B2BPLUGIN Outbound> Send Request Process. The Send Request Process is shown in Figure 4.
Figure 4 Send 850 Txn to BC
This process:
1.
2.
Run the Process
To run the process:
1.
Select the Tester tab.
2.
Select the Start Testing Viewed Process button
Figure 5 Select Process to Load
3.
Check the checkbox next to Send Request Process in the B2BPLUGIN Outbound folder. Check the checkbox next to processes in the B2BPLUGIN Error Advisories folder.
4.
Check the checkbox next to Receive Request Process in the B2BPLUGIN Inbound folder. Check the checkbox next to processes in the B2BPLUGIN Error Advisories folder.
5.
Click Load Selected.
If everything was configured and run properly, you will get the result shown in Figure 6, Send Request Process Completed.
Figure 6 Send Request Process Completed
Expected Results
Once the 850 transaction is received by TIBCO BusinessConnect B2BPlugin for CMI:
1.
2.
The X12 interchange is written to a file on the local file system where it simulates sending the interchange to the trading partner.
What you can observe:
The Send Request/Notification activity contains output that indicates the 850 transaction was successfully sent to the trading partner.
The directory c:\testBCB2B\out should contain a file which contains the B2B-X12 850 transaction that was sent to the trading partner by TIBCO BusinessConnect B2BPlugin for CMI.
View the Audit Log
To view the audit log on the Initiator machines, do the following:
1.
Using TIBCO Administrator, click the BusinessConnect > Log Viewer link in the left panel.
2.
Click the B2B-X12 link in the right panel.
3.
Figure 7 Send 850 Txn To BC Audit Log
4.
Click the Details icon in the search results area for a specific operation to view the details of the transaction.
Figure 8 Transaction Details for the Send 850 Txn To BC Audit Log
 
5.
Figure 9 RECEIVED_FROM_PP
The Detail View gives you all message details. It also indicates whether a particular message can be resent or saved.

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