Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 6 Subscription Service for Conversational 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 sub-send 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 OCCURS in the Get_input.xml in the format shown below:
<?xml version="1.0" encoding="UTF-8"?>
<Materials xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Material>
<OCCURS>1</OCCURS>
</Material>
8.
As soon as you make changes to the Get_input.xml file, the TIBCO ActiveMatrix BusinessWorks process, sub-send is triggered.
9.
10.
The sub-reply TIBCO ActiveMatrix BusinessWorks process gets triggered once the reply is received from the adapter Subscription service. The sub-reply process writes data into the output.xml file.
11.
Click the Stop Testing icon to return to design mode.

Copyright © TIBCO Software Inc. All Rights Reserved