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.
You can use the sample request program to demonstrate features, such as returning the rows in the OPERATION_ORDER table, batching requests, binding time and binary values, and running other SQL commands.
RPC Standard Operation
The ADBServer adapter service and processes [1] to [5] show the RPC standard operation support. This program emulates an RPC client application that sends requests to an adapter configuration for processing.
The following table lists the selections available in the sample request program for the RPC standard operation:
RPC Custom Operation
The ADBServer1 adapter service and processes [6] to [9] show the RPC custom operation support. This program emulates an RPC client application that sends requests to an adapter configuration for processing.
The following table lists the selections available in the sample request program for the RPC custom operation:
Selection | Description |
---|---|
[6] Execute procedure SetDescription_input | Run the SetDescription procedure, which takes an item description as input and writes it to the operation_order table. For example:
Enter the id: 30 Enter the order_description: ’spec material’ |
[7] Execute procedure getPrice_output | Run the getPrice procedure, which returns an item price for the specified id. For example:
Enter the id: 30 Returns the price value for the specified order. |
[8] Execute procedure paramTest_multiple | Run the paramTest procedure, which takes an item name and sequence number as input and returns the description, timestamp, and sequence number values for that record. For example:
Enter the id: 30 Enter the name: ’abc’ Enter the seqno: 15 |
[9] Pro_Customer_rvClient_ FINDORDERS | Oracle REF data type support that is used as an OUT parameter only in an Oracle stored procedure. |
Request-Reply Operation
The ADBServer2 adapter service and process [10] shows the Request-Reply operation support. This program emulates a Request-Reply application that sends requests to an adapter configuration for processing.
The following table lists the selection available in the sample request program for the Request-Reply operation: