Testing the RPC Standard Operation

This guide uses process [1] of the JMS transport type to show how to perform the RPC standard operation.

Procedure

  1. In the Project Explorer view, select JMS_[01]INSERT_INTO_OPERATION_ORDER.bwp from the OperationsOracle processes and double-click the process name.
  2. In the process editor, double-click InvokeanAdapterRequest-ResponseServer to open the configuration panel of the Invoke an Adapter Request-Response Server activity.
  3. Click the Input tab.
    The information that is inserted into the OPERATION_ORDER table 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_[01]INSERT_INTO_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_[01]INSERT_INTO_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 inserted into the OPERATION_ORDER table successfully.
    RPC Service Thread <RPC.JMSTopic.Thread.1> Reply Message body is: 
    	   - class=SQL_BATCHRETURN, values=[CLOSURE=[], ERROR_DESC=[], RETURNVALUES=[class=sequence
    [SQL_RETURNVALUE], contained-items=[class=SQL_RETURNVALUE, values=[CLOSURE=[], OUTBINDS=[], 
    RESULTSETS=[]]]], SQL=[insert into operation_order values(2,'teal table' ,1.99)], 
    STATUS=[Success]]
    
  7. Click the stop button to stop the RPC standard operation.