Running the Tutorial

To see the complete tutorial for the Asynchronous Request Response operation, you must run it on both machines, Buyer and Seller.

Note:
  • You can also run the Synchronous Request Response and Notify transactions using the processes provided in this tutorial.
  • The steps of how to load and run private processes in TIBCO Business Studio are similar to TIBCO Designer. See TIBCO ActiveMatrix BusinessWorks Documentation for more details.

Running the Tutorial on the Seller Machine

  1. In TIBCO Designer, expand the RESPONDER folder.
  2. Click Asynchronous Request Response > Receive Async Request.
  3. Click Read File > Input Tab > ReadActivityInput and verify that the path given in the fileName field is valid.
  4. Click Run Configurations.
  5. Click Start testing viewed process.
    The Select Process to Load page is displayed.
    Figure 1 Select Process to Load
  6. Select the Receive Async Request(current) check box.
  7. Click Load Selected.

    Once the request is received from the Buyer machine, this process receives the RESPODER.REQUEST message and then send the RESPONDER.RESPONSE message to BusinessConnect Container Edition.

Running the Tutorial on the Buyer Machine

  1. In TIBCO Designer, click INITIATOR > Asynchronous Request Response.
  2. Click the Send ASync Request process.
  3. Click the SendRequest activity.
  4. Enter Buyer in the fromTP field and Seller in the toTP field in the Input Tab.
    Figure 2 SendRequest (Input)
  5. Click Read File > Input Tab > ReadActivityInput and verify that the path given in the fileName field is valid.

  6. Click Apply and Save.
  7. Click the Run Configurations.
  8. Select two processes:
    1. INITIATOR/Asynchronous Request Response/Send Async Request
    2. INITIATOR/Asynchronous Request Response/Receive Response processes
  9. Click Load selected.
Figure 3 Select SendAsyncRequest Operation

It sends an INITIATOR.REQUEST to the INITIATOR BusinessConnect Container Edition. At the same time, the Receive Response activity receives the INITIATOR.RESPONSE message.

Figure 4 Send INITIATOR.REQUEST and Receive INITIATOR.RESPONSE
Figure 5 RESPONDER AsynchronousRequestResoponse Process