Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 9 Request-Response Service for Asynchronous Communication : Run and Test the Example

Run and Test the Example
Perform the following tasks to test the example.
Task A Run the Adapter in TIBCO Designer
1.
Go to Tool-> Show Adapter Tester.
2.
In the adapter tester window, click on the instance and in the Run Settings tab give the following parameters:
Working Directory : Specify a directory of your choice
Adapter Executable : Select the adapter .exe file (adtuxedo_native.exe or adtuxedo_wrkstn.exe)
3.
Click Apply and then Start.
Task B Run the TIBCO ActiveMatrix BusinessWorksProcess in TIBCO Designer
1.
2.
Click the Set Breakpoints icon.
3.
In the window that appears, choose Select All, then click OK.
4.
5.
Click the Start testing viewed process button.
6.
In the process selection window that appears, the rpc process is selected by default. Click Start Selected. The process is now in Test mode. Any change to the input XML file starts the process.
7.
Enter or change the values for Product ID and ServiceName in the Get_input.xml as shown below:
<?xml version="1.0" encoding="UTF-8"?>
<Products xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Product>
<PRODUCTID>1</PRODUCTID>
<ServiceName>PRODINFO</ServiceName>
</Product>
</Products>
8.
As soon as you make changes to the Get_input.xml file, the TIBCO ActiveMatrix BusinessWorks process, rpc gets triggered.
9.
10.
The TIBCO ActiveMatrix BusinessWorks process, rpc then writes the data received from the Tuxedo service into the Get_output.xml.
11.
Click the Stop Testing icon to return to design mode.

Copyright © TIBCO Software Inc. All Rights Reserved