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.
If WebLogic Server is running, the following indicator is visible in the status bar at the bottom of the WebLogic Workshop visual development environment:
Note: If you completed Step 6 in the tutorial to replace the tax calculation Web Service with a Process control, you may get a build warning about the taxCalculation Web service when you run your process. You can ignore this warning. It occurs because you have an unused Web Service control (taxCalculation) in the RequestQuote.jpd. If you remove or comment out the declaration of taxCalculation in the RequestQuote.jpd, the business process builds without warnings. The following lines show the control declaration in your JPD file:
/**
* @common:control
*/
private requestquote.services.TaxCalcControl taxCalculation;
You can enter data that your business process can receive as part of a client request directly on the Test Form page. Alternatively, you can browse your file system and upload a file which contains your test data. In this case, test XML data are provided in the tutorial application for you to use.
myapplications\Tutorial_Process_Application\
Tutorial_Process_ApplicationWeb\requestquote\testxml\QuoteRequest.xml.
In the preceding line, myapplications represents the location in which you created your Tutorial_Process_Application application.
For business processes that involve multiple communications with clients (as is the case in this scenario), or communications with resources such as other Web services, the Message Log at the left of the Test Form page displays an entry for each call to a method or a response from the service so that you can view the data for each.
Note that the sequence of calls displayed in the Message Log when you run your business process may be different from the sequence shown in the preceding figure. In your Message Log, you should see the following calls:
Instance instanceID is Completed.
where instanceID represents the ID generated when the quoteRequest method in your business process was called.
Note: If you are running the RequestQuote.jpd business process provided for you when you created your Tutorial_Process_Application application for the first time, the File control writes a file named quote.xml to your working directory. In this case, the working directory is the directory in which the integration server is running: BEA_HOME\weblogic81\samples\domains\integration.
To Monitor Instances of Your Business Process
You can use the WebLogic Integration Administration Console to monitor running processes or view statistics for processes that already ran.
To learn about using the WebLogic Integration Administration Console, see the console's online help and Managing WebLogic Integration Solutions at the following URL:
http://edocs.bea.com/wli/docs81/manage/index.html
Managing WebLogic Integration Solutions at http://edocs.bea.com/wli/docs81/manage/index.html
Testing Your Application with Test View
![]() |
|