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
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:
1.
2.
After you configured private processes in TIBCO Designer, you can check Summary Reporting Service.
Opening the TIBCO ActiveMatrix BusinessWorks Project
To open the example TIBCO ActiveMatrix BusinessWorks project in TIBCO Designer, perform the following steps:
1.
2.
Click New empty project.
3.
4.
Select Project > Import Full Project.
5.
Click the ZIP Archive tab.
6.
Navigate to the BC_HOME\protocols\tibedi\samples\bw\Service- SummaryReporting directory.
7.
Select Service-SummaryReporting.zip and click Open.
8.
Click OK.
The Import - Options dialog appears.
9.
In the Options tab, select the Try rename in case of name conflict radio button.
10.
Click Apply.
11.
Select Project > Save As.
12.
In the Project Directory file chooser, navigate to the BC_HOME\protocols\tibedi\samples\bw\Service-SummaryReporting directory.
13.
Click OK twice.
14.
Figure 2 shows the Service-SummaryReporting project.
Figure 2 TIBCO ActiveMatrix BusinessWorks Project
15.
outFileQueryTPByDate = “c:\temp\TPsByDateRange.xml”
and
outFileQueryTxnsByTPDateProtocol = “c:\temp\TransactionsByTPDateProtocol.xml”
Be sure to open a directory C:\temp if you want to keep these settings.
If you want to use another directory to post these files, substitute the desired directory path in these variables; for example, D:\testService.
Make sure that the global variables activityDateHigher and activityDateLower are valid date entries, for which transactions exist in the BC_TRANSACTIONS table.
Configuring Connections to BusinessConnect
To configure connections to BusinessConnect, perform the following steps:
1.
Click the Project tab.
2.
Double-click BCServerConfig.
3.
Click the BusinessConnect Server Access tab.
a.
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 Service from the Protocol Name list.
7.
Click the Import Selected Business Protocol button. TIBCO ActiveMatrix BusinessWorks retrieves schema information from the BusinessConnect configuration store and puts it in the BCSchemas project folder.
Figure 3 BusinessConnect Server Access
8.
Click Apply.
9.
Summary Reporting Service
The Summary Reporting service project contains two processes: QueryTPsByDateRange and QueryTransactionsByTPDateProtocol.
QueryTPsByDateRange Process
We will look into the first process, which queries trading partners by date range.
1.
2.
Figure 4 QueryTPsByDateRange
3.
Click the SendRequest activity and the select the Input tab.
Figure 5 SendRequest (Send Request/Notification)
The Initiator Response activity is shown in Figure 6.
Figure 6 Receive Response Output
Configuring Private Processes in TIBCO Business Studio
To configure a private process in TIBCO Business Studio:
1.
2.
Opening the TIBCO ActiveMatrix BusinessWorks Project
To open the TIBCO ActiveMatrix BusinessWorks project in TIBCO Business Studio:
1.
2.
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/Service-SummaryReporting directory, and select the Service-SummaryReporting_for_bw6.zip file. Click Open.
5.
Click Finish.
After importing the sample, you also need to perform the following steps:
1.
Expand SummaryReporting > Module Descriptors in the Project Explorer view.
2.
Double-click Module Properties.
3.
Change the default values of the properties according to your environment: activityDateHigher, activityDateLower, outFileQueryTPByDate, protocol, tpName, and outFileQueryTxnsByTPDateProtocol.
Configuring Connections to 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 Service 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 puts them in the project folder.
7.
Click Save.

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