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


Chapter 2 Tutorial — Getting Started : Configuring Private Processes

Configuring Private Processes
TIBCO BusinessConnect B2BPlugin for CMI contains an example TIBCO ActiveMatrix BusinessWorks project which sends a UN/B2B-EDIFACT ORDERS message to TIBCO BusinessConnect.
This sample project that can be found in the directory BC_HOME\protocols\b2bplugin\examples\bw\B2B-EDIFACT_ORDERS.
To open the sample project:
1.
2.
3.
Select Project > Import Full Project.
4.
Click the ZIP Archive tab.
5.
Navigate to BC_HOME\protocols\b2bplugin\examples\bw\B2B-EDIFACT_ORDERS
6.
Select B2B-EDIFACT_ORDERS.zip and click Open.
7.
Click OK.
The Import - Options dialog appears.
8.
In the Options tab, select the Try rename in case of name conflict radio button.
9.
Click Apply.
10.
Select Project > Save As.
11.
In the Project Directory file chooser, navigate to BC_HOME\protocols\b2bplugin\examples\bw\B2B-EDIFACT_ORDERS.
12.
13.
Click Yes when a dialog appears asking to use the directory as a project directory.
The zip archive file will be deleted.
14.
Figure 2 B2B-EDIFACT Project
15.
Click the Global Variables tab.
16.
Set BCHome to your TIBCO BusinessConnect installation directory and make sure that the TPName variable is defined as “Company2”.
17.
Configure Connections to TIBCO BusinessConnect
To configure connections to TIBCO BusinessConnect:
1.
Click the Project tab.
2.
Expand the B2BPLUGIN Server Connections folder and double-click BCServerConfig.
3.
Select the BusinessConnect Server Access tab.
a.
Select the JDBC driver you use to communicate with the BusinessConnect configuration store from the JDBC Driver drop-down list.
b.
c.
d.
Click the Apply button.
4.
Click the Configuration tab.
5.
Click the Update from Configuration Store button.
If you chose TIBCO Rendezvous as the transport for private communication, the software displays a TIBCO Rendezvous tab.
6.
Select B2B-EDIFACT from the Protocol Name drop-down list.
7.
Click the Import Selected Business Protocol button.
TIBCO ActiveMatrix BusinessWorks retrieves schema information from the TIBCO BusinessConnect configuration store and puts it in the BCSchemas project folder.
Figure 3 BusinessConnect Server Access
8.
Click Apply.
9.
Process Types
The EDIFACT-ORDERS project contains several processes in two folders:
B2B-EDIFACT Outbound  This folder contains the following process:
Send Request Process  This process reads a file containing the EDI equivalent of the ORDERS message and sends the EDI data to TIBCO BusinessConnect.
If you want to use the same example EDI data file to receive it from TIBCO BusinessConnect B2BPlugin for CMI, you must alter both the Sender and Receiver Interchange qualifier/ID in the data file to match the configuration.
B2BPLUGIN Error Advisories   This folder contains processes which would be activated if TIBCO BusinessConnect were to send out any advisory messages during the processing of the ORDERS message. The B2BPLUGIN Error Advisories folder contains the following processes:
Error Advisory  This process is activated when TIBCO BusinessConnect sends out a general error advisory. There are several conditions which could cause this advisory to be sent out. For example, it would be sent when an invalid message was sent from TIBCO ActiveMatrix BusinessWorks to TIBCO 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, Chapter 6, Private Messages.

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