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


Chapter 4 TIBCO ActiveMatrix BusinessWorks Private Processes Tutorial : Configuring TIBCO ActiveMatrix BusinessWorks Private Processes

Configuring TIBCO ActiveMatrix BusinessWorks Private Processes
TIBCO BusinessConnect SOAP Protocol contains an example TIBCO ActiveMatrix BusinessWorks project, which sends a transaction to BusinessConnect.
This section describes how to configure private processes in the following ways:
Configuring Private Processes in TIBCO Designer
To configure the tutorial in TIBCO Designer, perform the following steps:
Task A Opening the TIBCO ActiveMatrix BusinessWorks Project
To open the TIBCO ActiveMatrix BusinessWorks project in TIBCO Designer, perform the following steps:
1.
2.
Click New empty project.
3.
4.
Click Project > Import Full Project.
5.
Click the ZIP Archive tab in the Import Project dialog.
6.
Click and navigate to the TIBCO_HOME/bc/version_number/protocols/soap/samples/bcpalette directory.
7.
Select the bcpalette.zip file and click Open. Click OK.
8.
In the Options tab, select Try rename in case of name conflict. Click Apply.
9.
Click Project > Save As.
10.
In the Project Directory field, navigate to a folder where you want to save the sample project.
11.
Select UTF-8 from the TIBCO Messaging Encoding list.
12.
Select None from the Multi-User System list. Click OK.
Task B Configuring Connections to TIBCO BusinessConnect
To configure connections to TIBCO BusinessConnect, perform the following steps:
1.
Click the Global Variables tab.
2.
Verify that the BC_HOME variable is set to TIBCO_HOME\bc\version_number.
3.
Click the Project tab.
4.
Expand the Connections folder and click BCServer Connection.
5.
Click the BusinessConnect Server Access tab in the right panel.
a.
b.
Type the URL for the configuration store in the JDBC URL field.
c.
Type the configuration store values in the DB User and DB Password fields.
d.
Click Apply.
6.
Click the Configuration tab.
7.
If the Update Transport Settings check box is not selected, select it.
8.
Click Update from Configuration Store.
9.
Select SOAP from the Protocol Name list.
10.
Click Import Selected Business Protocol.
The operations previously imported to configuration store are displayed, as shown in Figure 6.
Figure 6 Imported Operations for SOAP
When you import TIBCO BusinessConnect SOAP Protocol, TIBCO Designer retrieves the schema information for the business documents associated with the SOAP operations. The schema information has been imported to TIBCO BusinessConnect configuration store previously. By retrieving the schemas of the business documents to TIBCO Designer, you can use the TIBCO ActiveMatrix BusinessWorks processes to construct the business document to be sent as a request, or validate and parse the received business document.
The retrieved schemas are in the BCSchemas project folder. If you expand this folder, you can see the CommonPO and CommonInvoice schemas in
BCSchemas > SOAP > POInterface > 1.0 > PONotify and POSync.
11.
Click Apply.
12.
Click the Save icon to save the project.
Configuring Private Processes in TIBCO Business Studio
To configure the tutorial in TIBCO Business Studio, perform the following steps:
 
Task A Opening the TIBCO ActiveMatrix BusinessWorks Project
To open the TIBCO ActiveMatrix BusinessWorks project in TIBCO Business Studio, perform the following steps:
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 TIBCO_HOME/bc/version_number/protocols/soap/samples/bcpalette directory, and select the bcpalette_for_bw6.zip file. Click Open.
5.
Click Finish.
After importing the sample, perform the following steps:
1.
Expand bcpalette > Module Descriptors in the Project Explorer view.
2.
Double-click Module Properties.
3.
Change the default value of the BC_HOME property according to your environment.
Task B Configuring Connections to TIBCO BusinessConnect
To configure connections to TIBCO BusinessConnect, perform the following steps:
1.
In the Project Explorer view, expand Resources > bcpalette, 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 SOAP from the Protocol Name list.
If you select the Select Operations check box, you can select any of the configured and 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