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


Chapter 2 Tutorials — Getting Started : Configuring Private Processes

Configuring Private Processes
TIBCO BusinessConnect EDI Protocol powered by Instream contains a sample TIBCO ActiveMatrix BusinessWorks project that sends an X12 850 transaction to TIBCO BusinessConnect.
This section describes how to configure private processes in the following ways:
Configuring Private Processes in TIBCO Designer
To configure private processes in TIBCO Designer, you have to open the sample project, and then configure connections to TIBCO BusinessConnect.
1.
2.
Opening the TIBCO ActiveMatrix BusinessWorks Project
To configure private processes, you must open the sample TIBCO ActiveMatrix BusinessWorks project in TIBCO Designer.
To open the sample project:
1.
2.
In the Save Project dialog, click Cancel.
3.
From the menu, click Project > Import Full Project.
4.
Click the ZIP Archive tab.
5.
In the ZIP Archive tab, click next to the File field to navigate to the BC_HOME\protocols\tibedi\samples\bw\X12_850 directory.
6.
Select the X12_850.zip file and click Open.
7.
Click OK.
8.
In the Options tab of the Import - Options dialog, click Try rename in case of name conflict, and then click Apply.
9.
From the menu, click Project > Save As.
10.
In the Multi-File Project tab of the Save Project dialog, click next to the Project Directory field to navigate to the BC_HOME\protocols\tibedi\samples\bw\X12_850 directory.
11.
12.
In the Save Project dialog, click OK.
13.
The .zip archive file is deleted from the BC_HOME\protocols\tibedi\samples\bw\X12_850 directory. The window shown in Figure 6 is displayed.
Figure 6 TIBCO ActiveMatrix BusinessWorks Project
14.
Click the Global Variables tab.
15.
In the Global Variables dialog:
a.
Set BCHome to your TIBCO BusinessConnect installation directory.
b.
Ensure that the TPName variable is defined as Company2.
c.
Click OK to save the global variable changes.
16.
Configuring Connections to BusinessConnect
After opening the sample project, you must configure connections to TIBCO BusinessConnect so that TIBCO ActiveMatrix BusinessWorks can communicate with TIBCO BusinessConnect.
To configure connections to TIBCO BusinessConnect:
1.
Click the Project tab.
2.
In the BCServerConnection folder, double-click BCServerConfig.
3.
Click the BusinessConnect Server Access tab, and configure the following information in the tab:
a.
From the JDBC Driver Type list, select the JDBC driver that you want to use to communicate with the BusinessConnect configuration store.
b.
In the JDBC URL field, type the URL for the configuration store.
c.
In the DB User field, type the user name of the configuration store.
d.
In the DB Password field, type the password of the configuration store.
e.
Click Apply to save the configurations.
4.
Click the Configuration tab.
5.
Click Update from Configuration Store.
If you choose TIBCO Rendezvous as the transport for private communication, the software displays a TIBCO Rendezvous tab.
6.
From the Protocol Name list, select X12.
7.
Click Import Selected Business Protocol.
TIBCO ActiveMatrix BusinessWorks now retrieves schema information from the BusinessConnect configuration store, and saves it in the BCSchemas project folder.
Figure 7 BCServerConfig: Configuration
8.
Click Apply to save the configurations.
9.
From the menu, click Project > Save to save the project.
Configuring Private Processes in TIBCO Business Studio
To configure a private process in TIBCO Business Studio, you have to open the sample project, and then configure connections to TIBCO BusinessConnect.
1.
2.
Opening the TIBCO ActiveMatrix BusinessWorks Project
To configure private processes, you must open the sample TIBCO ActiveMatrix BusinessWorks project in TIBCO Business Studio.
To open the sample project in TIBCO Business Studio:
1.
2.
From the menu, click File > Import.
3.
On the Import page, expand the General folder and select Existing Studio Projects into Workspace. Click Next.
4.
Click Browse next to the Select archive file field to navigate to the BC_HOME/protocols/tibedi/samples/bw/X12_850 directory.
5.
Select the X12_850_for_bw6.zip file, and then click Open.
6.
Click Finish to import the sample project.
After importing the sample project, you have to perform the following steps:
1.
In the Project Explorer view, expand X12_850 > Module Descriptors.
2.
Double-click Module Properties.
3.
Change the default values of the BCHome and TPName properties according to your environment.
Configuring Connections to TIBCO BusinessConnect
After opening the sample project, you must configure connections to TIBCO BusinessConnect so that TIBCO ActiveMatrix BusinessWorks can communicate with TIBCO BusinessConnect.
To configure connections to TIBCO BusinessConnect:
1.
In the Project Explorer view, expand Resources and double-click BCConnection.bcResource.
2.
Click the Server Access tab.
3.
4.
Click the Configuration tab, and click Update from Configuration Store.
5.
Select X12 from the Protocol Name list.
If you select the Select Operations check box, you can select any of the configured/imported operations. For this tutorial, select all operations and click OK.
6.
Click Import Selected Business Protocol.
When you import the protocol, TIBCO ActiveMatrix BusinessWorks retrieves information from the TIBCO BusinessConnect configuration store, and saves them in the project folder.
7.
Click Save.

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