In the same way you ran and tested the business process you created when you finished Adding Looping Logic, Parallel Paths . . . of the tutorial, you can run and test the functionality of the business process you created in Part IV using WebLogic Workshop's browser-based interface.
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_a.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.
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.
The message log reflects the order of execution of methods in your RequestQuote business process and the services it calls. For the scenario logged in the preceding figure, note the following entries in the message log:
requestTaxRate()
method on the tax calculation business process before it is interrupted by the mbSubValidate.onMessage message.returnTaxRate()
) before it executes the logic in the OnMessage path. (Remember that the after execute property on the OnMessage path specifies that the process engine terminates the business process after execution of the message path. In other words, in this case, the returnTaxRate call is received as part the normal flow of execution because the logic in the OnMessage path is not yet executed.)
instanceID
represents the ID generated when the first method in your business process was called.
Note: | For this business process, the first and second messages in your Message Log are quoteRequest and mbPubValidate.publish. However, the order of subsequent messages can vary depending on your system. For the case shown in the preceding figure, the asynchronous message (taxCalcProcess.requestTaxRate) was sent to the tax calculation service before the interrupt message (mbSubValidate.onMessage) was received from the Stop Quote Message Broker channel. In addition, a response message (taxCalcProcess.returnTaxRate) was received from the tax calculation service before the business process was terminated as a result of receiving the mbSubValidate.onMessage message. You can click any log entry to see the details of that interaction in the right panel of the Test Form. |
You can use the WebLogic Integration Administration Console to monitor your processes.
ToolsWebLogic IntegrationWebLogic Integration Administration Console
http://localhost:7001/wliconsole
The default username is weblogic
and the password for the sample integration server is also weblogic
.
If you invoked the Process Instance Monitoring page after running the RequestQuote business process, as described in this step, three business processes are listed in the Process Instance Statistics page: RequestQuote, TaxCalcProcess, and Validate Order.
To learn more about Process Instance Monitoring in the WebLogic Integration Administration Console, see the Process Instance Monitoring topic in the Administration Console online help.
You can use the WebLogic Integration Administration Console to monitor the Message Broker channels in your system, specifically the name, status, and the number of subscribers for each channel.
Open the Channel Summary List page in one of the following ways:
The Channel Summary List page is displayed. The list displays all the channels in your system (in the samples integration domain in this case). Note that the TutorialPrefix/Tutorial/StopQuote and TutorialPrefix/Tutorial/ValidateOrder channels used by your business process in Part IV of the tutorial are displayed:
Note the following information about the Message Broker channels:
To learn more about the Message Broker module in the WebLogic Integration Administration Console, see the Message Broker topic in the Administration Console online help.