Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 5 Configuring an Adapter Service Engine Instance : PeopleSoft Business Object

PeopleSoft Business Object
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 for the business entities such as invoice, orders, customers or vendors.
The BO also encapsulates the data, its attributes, types, and functions as well as the operations and relationships between other BOs.The schema that is downloaded can be used by adapter services in an adapter project.
Importing Business Objects
To import PeopleSoft BOs, follow these steps:
1.
Select an adapter project in the Project Explorer Panel, and then select File > Import from the Menu. The Import dialog appears, as shown in Figure 40.
Figure 40 Import a PeopleSoft Business Object
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, as shown in Figure 41.
Figure 41 PeopleSoft Business Objects Importer Wizard - General Configuration
3.
Name: Enter a name to be saved for the schema.
Download Location: Click the Browse button to select a location to save the schema.
Adapter Connection: Click the Browse button to select a pre-configured PeopleSoft Connection.
Click the Test Connection button to test whether the specified configuration fields result in a valid connection to the PeopleSoft Application Server.
4.
If the target BO does not exist in the PeopleSoft Business Objects list, select Compoment Interface or PeopleSoft Message from the Applications tree, then enter the criteria in the Filter table and click the Fetch From Backend button. The BO will be fetched from PeopleSoft.
Figure 42 PeopleSoft Business Objects Importer Wizard - Retrieve PeopleSoft BOs
5.
Click the Finish button to close the dialog. After successfully importing PeopleSoft BOs, a business object file (.bo) will be automatically generated in the adapter project. For example, if you enter PeopleSoftAdapterConfiguration in the Name field in step 3, the PeopleSoftAdapterConfiguration.bo file will be automatically generated within the adapter project, as shown in Figure 43.
Figure 43 PeopleSoft BO File
6.
Double-click the business object file under the adapter project folder in the Project Explorer Panel to view the imported PeopleSoft BOs. The PeopleSoft Adapter Business Object Editor panel appears on the right, as shown in Figure 44.
Figure 44 PeopleSoft Adapter Business Object Editor
7.
Converting Business Objects into AESchemas
After generating a business object file (.bo), you need to convert PeopleSoft BOs into AESchemas.
To convert PeopleSoft BOs into AESchemas, follow these steps:
1.
2.
Double-click the configuration file under the adapter project folder in the Project Explorer Panel. The Editor Panel appears on the right with the configuration tabs. Click the Adapter Services tab, as shown in Figure 45.
Figure 45 Adapter Services Tab
3.
Select Browse from the Class Reference From BO drop-down list. The Select Child dialog appears, as shown in Figure 46. 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.
Figure 46 Select Child Dialog
4.
Click the OK button to close the dialog. A schema class file (.schemamodel) will be generated in /AESchemas/as/PeopleSoft8/ within the adapter project, as shown in Figure 47.
Figure 47 The Generated Schema Class File
5.
Figure 48 Schema Editor

Copyright © TIBCO Software Inc. All Rights Reserved