![]() ![]() ![]() ![]() ![]() ![]() |
To run and test the business process that you created, complete the following steps:
The Server view is displayed. If no server is defined, the view is empty.
RequestQuote.java
, and choose Run As The Run On Server wizard is displayed.
Note: | If one or more servers are already defined, you can select Choose an existing server. |
The BEA WebLogic Server v10.2 dialog box is displayed.
BEA_HOME\wlserver_10.0\samples\domains\integration
, where BEA_HOME
represents the directory in which you installed WLI.The server is started, and the RequestQuote application is deployed on it. The status of the server changes to Started in the Servers view.
After the application is deployed, the test browser is displayed.
Tutorial_Process_Application_Web\src\testxml\QuoteRequest.xml
file.Note: | The label of the button reflects the name of the start method in the business process. |
The Test Form tab refreshes to display a summary of your request parameters and the responses from the web service in the Message Log.
quoteRequest
method that starts the business process.taxCalculation
web service: taxCalcControl.requestTaxRate
.taxCalculation
web service to your business process: taxCalcControl.returnTaxRate
.
Instance instanceID is Completed
.
instanceID
is the ID that is generated when the quoteRequest
method in your business process was called.
You can click any of the methods in the message log to view the details of the call. For example, if you click quoteRequest
, the Service Request panel displays the XML message sent by the client (you) when the method was called.
If you click taxCalcControl.returnTaxRate
, you can view the response from the taxCalculation
service.
In the sample XML message that you used, state
is NJ
. So the process executes the Yes branch of the Sales Tax Calculation Needed? node.
The following code segment shows the rate of sales tax returned for this test XML message.
By following these steps, you ran and tested a simple business process, which contains a Start node and a Decision node, and includes an asynchronous call to a web service through a control.
Subsequent steps in this tutorial build on the business process that you have created so far.
Note: | For information about the other features of the test browser, see Additional Functionality in Test Browser. |
![]() ![]() ![]() |