6.14 Create Emulate Dialog
Use to simulate the behavior of the following components with which your SOA composite application interacts during execution:
-
Internal service components inside the composite
-
Binding components outside the composite
Instead of invoking another service component or binding component, you can specify a response from the component or reference.
Note: The creation of more than one emulation is supported only if one emulation is for an output message and the other is for a callback message.
Element | Description |
---|---|
Emulate Output |
Select to simulate a message returned from a synchronous web service partner. Selecting this option causes the Output Message field to display. |
Output Message |
Displays the output message of the selected service component. |
Emulate Callback |
Select to simulate a callback message returned from an asynchronous web service partner. Selecting this option causes the Callback Operation and Callback Message fields to display. |
Callback Operation |
Select the callback operation (for example, onResult). |
Callback Message |
Displays the callback message name of the asynchronous process. |
Emulate Fault |
Select to simulate a fault message returned from an asynchronous web service partner. Selecting this option causes the Fault and Fault Message fields to display. |
Fault |
Select the fault type to return from a partner (for example, NegativeCredit). |
Fault Message |
Displays the message name. |
Part |
Select the message part containing the output, callback, or fault (for example, a payload). If the message contains multiple parts (for example, payload1, payload2, and payload3), you must create separate emulations for each part. |
Value |
Create a simulated output, callback, or fault message to return from a web service partner in either of two ways: |
Enter Manually |
Click to manually enter message data in the Enter Value field. The Generate Sample button enables you to automatically generate a sample file for testing. Click Save As to save the sample file. |
Load From File |
Click to access the Browse icon for loading message data from a file. The file is added to the messages folder in the Application Navigator. |
Duration |
Enter the maximum amount of time to wait for the output, callback, or fault message to be delivered from the web service partner. |
Related Topics
Editing the Contents of Test Cases in Test Mode in the SOA Composite Editor" in Developing SOA Applications with Oracle SOA Suite