Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 2 TIBCO ActiveMatrix BusinessWorks: Working with the Customer Component Interface : Deploying and Running the Example

Deploying and Running the Example
Perform the following tasks to deploy and run the example.
 
Task A Deploy the Example
In TIBCO Administrator:
1.
Click on the Installed Software link on the left panel. Check if TIBCO ActiveMatrix Adapter for PeopleSoft is registered. If the software is not registered, register by clicking the Add Custom Software button. Please refer to the TIBCO Administrator documentation for more details on adding custom software.
2.
Go to Application Management. Click New Application. Upload the EAR file created in the previous section and click OK. On the following screen, clear the Quick Configure check box and then click Save.
3.
Click Configuration in the newly created application. Click on the top level application name in the configuration view.
a.
Go to the Advanced tab and provide the values for:
adpsft8.connection.appserver
adpsft8.connection.login
adpsft8.connection.password
adpsft8.connection.port
b.
Click Save. The Configuration screen appears.
c.
Expand the Enterprise archive link, so that adapter instances, pubCI.aar, sub.aar and rpc.aar are visible.
d.
Click pubCI.aar and then click the Add to Additional Machines button.
e.
Select the machine and click OK. In the following screen, click Save.
f.
Repeat steps d and e for sub.aar and rpc.aar.
g.
In the Configuration screen click Deploy, which will take you to the next screen. The Start successfully deployed services check box is selected by default. Click OK. The .tra files are created in TIB_ADPSFT8_HOME/bin/domain/domain_name.
4.
Once the deployment is complete, click Service Instances under the application. The adapter is listed. Select the adapter and click Load Selected. Both the customer creation and customer fetching process is started. The adapter instance is also started.
Task B Run the Example
To run each example:
1.
To trigger GetProcess, you must enter the key values in the Get_Input.xml file located in the TIB_ADPSFT8_HOME/examples/BusinessWorks/Customer folder. For example key values for the following parameters can be entered:
  
   SETID
   TIB_CUSTOMER
This fetches the customer details from PeopleSoft based on the details as given in the XML file. After the customer details are fetched from PeopleSoft, the Get_Output.xml file is written to the location TIB_ADPSFT8_HOME/examples/BusinessWorks/Customer
2.
To trigger UpdateProcess, you must enter the data in the input_render.xml file located in the TIB_ADPSFT8_HOME/examples/BusinessWorks/Customer folder. For example:
<PROPERTIES>
<SETID>CRM01</SETID>
<PRODUCT_ID>10000</PRODUCT_ID>
<PRODUCT_ID_O>10000</PRODUCT_ID_O>
<DESCR>CRM01</DESCR>
<TIB_PROD_PRICE__KIT_COMPS_PRICE>
        <OPRN_CODE>U</OPRN_CODE>
        <PROD_COMPONENT_ID>WE</PROD_COMPONENT_ID>
        <DATE_IN_EFFECT>U</DATE_IN_EFFECT>
        <PROD_KIT_COMP_PRICE>12.78</PROD_KIT_COMP_PRICE>
        <DATE_OBSOLUTE>12</DATE_OBSOLUTE>
        </TIB_PROD_PRICE__KIT_COMPS_PRICE>
        <TIB_PROD_PRICE__PROD_UOM>
        <OPRN_CODE>U</OPRN_CODE>
        <UNIT_OF_MEASURE>VINIBA</UNIT_OF_MEASURE>
        <TIB_PROD_PRICE__PROD_PRICE_BU>
        <OPRN_CODE>U</OPRN_CODE>
        <BUSINESS_UNIT_IN>QUOT</BUSINESS_UNIT_IN>
        CURRENCY_CD>U</CURRENCY_CD>
        <TIB_PROD_PRICE__PROD_PRICE>
        <OPRN_CODE>U</OPRN_CODE>
        <EFFDT>U</EFFDT>
<EFF_STATUS>QUOT</EFF_STATUS>
        <LIST_PRICE>1.1</LIST_PRICE>
        <UNIT_CAST>1.1</UNIT_CAST>
        <MSG_SUG_RTL_PRC>1.1</MSG_SUG_RTL_PRC>
         </TIB_PROD_PRICE__PROD_PRICE>
        </TIB_PROD_PRICE__PROD_PRICE_BU>
         </TIB_PROD_PRICE__PROD_UOM>
</PROPERTIES>
This creates a customer record in PeopleSoft.
3.
To trigger SyncProcess, you must modify the data in PeopleSoft. For example you may modify any customer record. This triggers the SyncProcess and writes the data to the Sync_output.xml file.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved