You can run and test the functionality of the business process you created using WebLogic Workshop's browser-based interface. Using the Workshop Test Browser, you play the role of the client, invoking the methods on the business process and viewing the responses.
To run and test the business process that you have created, complete the following steps:
BEA_HOME\weblogic92\samples\domains\integration
, where BEA_HOME represents the directory in which you installed WebLogic Platform. Click Finish.The samples domain integration server is started, and the RequestQuote application is deployed on it. When WebLogic Server is running, the following indicator is visible in the Servers view.
The QuoteRequest.xml file is available at the following location in your file system: Tutorial_Process_Application_WEB\src\testxml\QuoteRequest.xml
The Test Form page refreshes to display a summary of your request parameters and the responses from the Web service in the Message Log.
Instance
instanceID
is Completed
.
where instanceID
represents the ID 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 taxCalculation.returnTaxRate, you can view the response from the taxCalculation service—in this case, the tax rate was calculated, based on the input value (NJ) for the state element in the test XML.
In the sample XML message you used, state="NJ". That is, the state to which the order is shipped is NJ. This XML message is designed to cause the flow of execution through the Yes branch on your Sales Tax Calculation Needed? node. The preceding figure shows the rate of sales tax returned for this test XML message.
<returnTaxRate xmlns="http://www.openuri.org/">
<taxRate>0.08</taxRate>
</returnTaxRate>
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, via a control.
You can use the BEA Products Administration Console to monitor running processes or view statistics for processes that already ran.
weblogic
and password = weblogic
. The BEA Products Administration Console opens to the Process Instance Details page. The WebLogic Integration Administration Console allows you to administer and manage your BEA Products applications. For example, if you click View Statistics on the Process Instances navigation pane, you access a Process Instance Statistics page. This page displays a summary of business process instances grouped by the process type. To view the instances of a process type that ran or are running on your server, click the process name. Processes instances are identified by their instanceID. Note that the instanceID displayed for your RequestQuote business process matches the instanceID displayed on the Message Log pane (see the preceding figures in this topic).weblogic
and password: weblogic
. When you use this link to open the Administration Console, it opens on the Process Instance Summary page, which displays a summary of all the instances of business processes that ran or are running. It allows you to:To learn about using the BEA Products Administration Console, see the console's online help at http://download.oracle.com/docs/cd/E13214_01/wli/docs92/adminhelp/index.html.
WebLogic Integration Admin console Online Help