Working Through the Operations Example

Both the operation example in the bw5 folder and the Operations example in the bw6 folder show how to use Request-Response Service of the adapter, including the RPC standard operation, RPC custom operation, and Request-Reply operation.

After you migrate the operation example in the bw5 folder and create a new process to call the migrated process, you can run the migrated process in TIBCO Business Studio. After you import the Operations example in the bw6 folder to TIBCO Business Studio, you can run the imported process in TIBCO Business Studio. The procedures of running the examples are the same. This guide describes how to run the Operations example in the bw6 folder in TIBCO Business Studio.

This example includes three exercises:
RPC Standard Operation
This exercise shows the standard operation. It uses a sample operation program that emulates an RPC client application to send requests to an adapter configuration for processing.
RPC Custom Operation
This exercise shows the custom operation. It uses a sample operation program that emulates an RPC client application to send requests to an adapter configuration for processing.
Request-Reply Operation
This exercise uses a sample request program that emulates a Request-Reply application to send requests to an adapter configuration for processing.

The sample request program acts as a client, sending a request to be processed by an adapter configuration. After receiving the request, the adapter processes it and sends a response back on its configured subject. Trace information about the transaction is printed in the console window where the adapter configuration is started.

To work through the Operations example, perform the following tasks:
  1. Creating the Demo Tables
  2. Starting the Adapter
  3. Testing the Example
  4. Cleaning up the Example