Running the Tutorial

This section gives the instructions for running the TIBCO BusinessWorks processes to complete a RosettaNet 3A4 PIP.

Running Responder on Machine 2

Follow the instructions below to start the responder processes on Machine 2:

Procedure

  1. 1. In the opened TIBCO Studio project on Machine 2, select the Tester tab in the project panel and Click the Run button.
  2. Select the Responder > 3A4 Responder process definition.
  3. Select the Responder > submitPPResponse process definition.
  4. Click Load Selected.
  5. Open Responder.html in Internet Explorer.
    This file can be found in your ProjectDirectory/html.
  6. Click the Wait Response button in the Web page.

Running Initiator on Machine 1

You must start the responder processes on Machine 2 prior to proceeding with this section.

Follow the instructions below to start the initiator processes on Machine 1:

Procedure

  1. In the opened TIBCO Studio project on Machine 1, click the Run button in the menu bar and click Run or Debug in the drop-down menu.
  2. Select the Initiator > PP Initiator process definition.
  3. Click Load Selected.
  4. Open Initiator.html in Internet Explorer. This file can be found in your ProjectDirectory/html.
  5. In the web page, click the Browse button next to the Payload field.
  6. Browse to bcce-rosettanet-1.0.0/samples/sampleDocs/3/A/3A4.
  7. Select 3A4PurchaseOrderRequest_1_4.xml and click Open.
  8. Type 987654321 in the Destination DUNS Number field.
  9. Type 123456789 in the My DUNS Number field. The page should look like the following figure:
    Initiator.html
  10. Click the Send Request.

Result

If everything works as expected, you will observe the following sequence of events:
  1. The tester on Machine 1 finishes sending a 3A4 PIP request to Machine 2 and the Wait for Response turns yellow as it waits for a response from Machine 2.
  2. The tester on Machine 2 is triggered and sends the request message to the Responder.html web page.
  3. The request message is displayed in Responder.html, demonstrating that the responder on Machine 2 has received the request.
  4. The tester on Machine 2 prepares and sends a response back to Machine 1.
  5. The tester on Machine 1 resumes and sends the response to the Initiator.html web page.

Compare the audit log entries on the initiator side and the responder side to view the completed transaction .

The following figures contain transaction detail examples for the initiator and the responder, for a successfully completed transactions:

Initiator Transaction Details

Responder Transaction Details