Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 4 Getting Started : Configuring an Adapter Service Engine Instance

Configuring an Adapter Service Engine Instance
Each adapter project contains one or more instances of the adapter service engine configuration. This configuration is accessed whenever an adapter application is started.
A typical sequence for creating an adapter project and configuring an Adapter Service Engine instance is as follows:
1.
2.
3.
4.
5.
6.
Starting TIBCO Business Studio
To start TIBCO Business Studio, follow these steps:
1.
From the Start menu, select All Programs > TIBCO > TIBCO Business Studio 2.2 > TIBCO Business Studio.
or
From the command line, run TIBCO_HOME\BusinessStudio\TIBCOBusinessStudio.exe
Run TIBCO_HOME/BusinessStudio/TIBCOBusinessStudio.sh
2.
For detailed information about starting TIBCO Business Studio, refer to Starting TIBCO Business Studio.
Creating an Adapter Project
An adapter project contains the configuration files that define runtime options for the Adapter Service Engine.
To create an Adapter project, follow these steps:
1.
2.
Select File > New > Project from the Menu to open the New Project window.
3.
Select TIBCO ActiveMatrix Adapters > Adapter Project in the Select a wizard page, as shown in Figure 31, and then click the Next button.
Figure 31 Create a Project - Select a Wizard
 
4.
Enter ADPSFT_DEMO as the adapter project name in the Project name field, as shown in Figure 32, and then click the Finish button. The newly created project is shown in the Project Explorer.
Figure 32 Create a Project - ADPSFT_DEMO Project
 
For detailed information about creating a new adapter project, refer to Creating Adapter Projects.
Creating and Configuring a PeopleSoft Connection
After creating an adapter project, follow these steps to create and configure a PeopleSoft Connection:
1.
a.
Click the ADPSFT_DEMO project in the Project Explorer Panel, and then select File > New > Adapter Resources... from the Menu. The Create New Adapters Resource dialog appears.
b.
Expand the Shared Resources folder and select PeopleSoft Connection. Click the Next button to open the PeopleSoft Connection Shared Resource dialog, as shown in Figure 33.
Figure 33 ADPSFT_DEMOCreate a PeopleSoft Connection Shared Resource
c.
Click the Finish button to close the dialog. The connection configuration file peopleSoft_Connection_Configuration.sharedadpsft8conn appears under the ADPSFT_DEMO project folder in the Project Explorer Panel.
2.
Double-click peopleSoft_Connection_Configuration.sharedadpsft8conn to open the configuration tabs on the right Editor Panel. Specify the value for each parameter listed below:
For detailed information about creating and configuring a PeopleSoft Connection, refer to Creating and Configuring a PeopleSoft Connection.
Importing PeopleSoft Business Objects
TIBCO ActiveMatrix Adapter Service Engine for PeopleSoft introduces the concept of a Business Object (BO). In the simplest sense, a BO is the representation of the data model of the business entities like invoice, orders, customers or vendors.
To import PeopleSoft Business Objects (BOs), follow these steps:
1.
Click the ADPSFT_DEMO project in the Project Explorer Panel, and then select File > Import from the Menu.
2.
Expand the TIBCO ActiveMatrix Adapters folder and select Metadata > PeopleSoft Business Objects. Click the Next button to open the PeopleSoft Business Objects Importer Wizard dialog.
3.
Enter ADPSFT_BO in the Name field and browse to select the download location and adapter connection in the dialog, and then click the Next button.
4.
5.
Click the Finish button to close the dialog. After successfully importing PeopleSoft BOs, a business object file ADPSFT_BO.bo will be automatically generated in the ADPSFT_DEMO project.
6.
Double-click ADPSFT_BO.bo in the Project Explorer Panel to view imported PeopleSoft BOs. The PeopleSoft Adapter Business Object Editor panel appears on the right.
For detailed information about importing PeopleSoft Business Objects, refer to Importing Business Objects
Creating a PeopleSoft Adapter Configuration
After creating a PeopleSoft Connection and importing PeopleSoft Business Objects, follow these steps to create a PeopleSoft Adapter Configuration:
1.
Click the ADPSFT_DEMO project in the Project Explorer Panel, and then select File > New > Adapter Resources... from the Menu. The Create New Adapters Resource dialog appears, as shown in Figure 34.
Figure 34 Create New Adapters Resource Dialog
2.
Expand the Configurations folder and select PeopleSoft Adapter. Click the Next button to open the PeopleSoft Adapter Configuration dialog.
3.
Select ADPSFT_DEMO as the parent folder.
4.
Click the Finish button to close the dialog. The configuration file PeopleSoftAdapterConfiguration.adpsft8model appears under the ADPSFT_DEMO project in the Project Explorer Panel.
5.
Double-click PeopleSoftAdapterConfiguration.adpsft8model to open the configuration tabs on the right Editor Panel.
For detailed information about creating a PeopleSoft Adapter Configuration, refer to PeopleSoft Adapter Configuration.
Adding and Configuring a PeopleSoft Adapter Service
After creating a PeopleSoft Adapter Configuration, add and configure the adapter services in the Adapter Service Engine.
The following six adapter services can be added:
To add and configure a CI Publisher service, follow these steps:
1.
Double-click PeopleSoftAdapterConfiguration.adpsft8model under the ADPSFT_DEMO project in the Project Explorer Panel. The configuration tabs appear on the right Editor Panel.
2.
Click the Configuration tab and make sure the Connection Configuration is correct.
3.
Click the Adapter Services tab.
4.
Click the Add CI Publisher button in the All PeopleSoft Adapter Services pane. The parameter configuration panes appear in the tab.
5.
Select Browse from the Class Reference From BO drop-down list under the Schema pane. The Select Child dialog appears. Select a .bo file from the Matching Resources list and select an adapter project from the In Container list. Select the table listed in the Available Nodes list.
 
6.
Click the OK button to close the dialog. A schema class file (.schemamodel) will be generated in /AESchemas/as/PeopleSoft8/ under the ADPSFT_DEMO project.
7.
Click the Save button to save your configuration.
For detailed information about configuring the Adapter Services, refer to Adapter Services.

Copyright © TIBCO Software Inc. All Rights Reserved