Testing the Request-Reply Operation

This guide uses process [10] of the JMS transport type to show how to perform the Request-Reply operation.

Procedure

  1. In the Project Explorer view, select JMS_[10]_Request_Reply_SELECT_FROM_OPERATION_ORDER.bwp from the OperationsOracle processes and double-click the process name.
  2. In the process editor, double-click PublishtoAdapter to open the configuration panel of the Publish to Adapter activity.
  3. Click the Input tab.
    The information that will be sent to the adapter is displayed in the SQL_STRING field.

  4. Ensure that the BusinessWorks process that you want to run exists in the Components list.
    1. In the Project Explorer view, expand Module Descriptors and double-click Components.
    2. In the Component Configurations editor, click Create Process Component to add the process that you want to run.
  5. Optional: If multiple projects exist in the Project Explorer view, ensure that only the sample project that you want to run is selected for running.
    1. Right-click JMS_[10]_Request_Reply_SELECT_FROM_OPERATION_ORDER.bwp. From the pop-up menu, click Run As > Run Configurations.
    2. In the Run Configurations window, only select the OperationsOracle project and click Run.
  6. In the Project Explorer view, right-click JMS_[10]_Request_Reply_SELECT_FROM_OPERATION_ORDER.bwp. From the pop-up menu, click Run As > Launch BusinessWorks or click Debug As > Launch BusinessWorks Debugger.
    The process is now in the test mode. A message is displayed in the Console view to indicate that data is sent to the adapter and all rows are returned from the OPERATION_ORDER table successfully.

  7. Click the stop button to stop the Request-Reply operation.