![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
Task A Running the Adapter
1. Put the local repository .dat file metioned in the previous section into any location on the UNIX machine where the adapter is installed and the Kenan/FX middleware is running.
2.
−
− Specify the configurl as KenanAdapterConfiguration if the udt BusinessWorks process runs, and KenanAdapterConfiguration1 if the udt (direct parse) BusinessWorks process runs.
3. Open a new console session. Change the working directory to $TIBCO_HOME/adapter/adkenan/<version_num>/bin and type adkenan. Executing this command starts the adapter. If the adapter is started successfully, the following message is displayed:Task B Running the TIBCO ActiveMatrix BusinessWorksProcess
4. Start TIBCO Designer.
Click Programs > TIBCO > TIBCO Designer <version_num> > Designer <version_num>
5.
7.
a. Click the browse button opposite to the Source XSD field to locate the CustomerUdtRequest.xsd file which is provided by CSG. After this .xsd file is selected, the various elements are loaded and displayed in the UDT Tool window.
b. Select the check boxes against the elements to include. For this example, select Account and Product.
c. Click the browse button opposite to the Output directory field to select a folder as the Output directory.
d. Click Generate in the UDT Tool window. A message box shows that 8 files are generated in the Output directory.
e. Click Close to close the UDT Tool window.
a. Select Project > Import Resources from File, Folder, URL.
b. Select Folder from the Format drop-down box.
c. Click the browse button opposite to the Folder field to select the folder where the 8 .xsd fildes generated are.
d.
9. Edit the process definition.
Click udt under the Process folder in the Project panel. The BusinessWorks process is displayed as shown next:
10. Set the RvDaemon global variable in the udt process to the value of the RvDaemon parameter in the repository which is used by the adapter.
11. Provide a valid location in the udt process for the output file in the Write File activitiy named Success and the one named Error.
− The file associated with Success includes the response XML message from Kenan/BP. This response is for the request sent by the adapter to Kenan/BP.
− The file associated with Error will include an exception message which is sent by the adapter, if any error appears.To provide a valid location for the output file, click the corresponding Write File icon, select the Input tab and edit the fileName parameter.
12. In the udt process, click the Mapper activity named Map Data. Select the Input tab and in the Activity Input, go to CustomerUdtRequest>RequestList>Account>AccountGet>Account>Key>AccountInternalId. Provide a valid value for the AccountInternalId field. The value of AccountInternalId specified here must be one of the values in the ACCOUNT_NO column of the CMF table.
13. In the Activity Input, go to CustomerUdtRequest>RequestList>Product>ProductGet>Product>Key>ViewId. The value of the ViewId specified here must be one of the values in the VIEW_ID column of the PRODUCT_VIEW table.
14. Trigger the TIBCO ActiveMatrix BusinessWorks process. Select the Tester tab in the project panel and press F9. In the next dialog box, click Load & Start Current. Make sure the configurl is specified as KenanAdapterConfiguration as described in Task A.
15. Follow the same procedure as described from step 6 to step 11 to edit, check and run the process udt (direct parse). Make sure the configurl is specified as KenanAdapterConfiguration1 as described in Task A.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |