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.
- 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.
- Sample Request Program
After you import the OperationsOracle sample project to TIBCO Business Studio, all the preconfigured processes are displayed in the Project Explorer view. - Creating the Demo Tables
Before you start the Operations example, you have to create the schema and database objects. - Starting the Adapter
You can use the Adapter Launcher tool to start the adapter configuration in TIBCO Business Studio. - Testing the Example
After starting the adapter configuration successfully, you can test the example. Because the processes listed in the Project Explorer view use the same test method, this guide takes only one process from each operation as the test example. - Cleaning up the Example
After running the sample project, you can use the cleanup script to delete the example tables. The cleanup script only deletes the example tables that were created by the operation_database_vendor.sql script.