After running the script, you have to add the StockQuoteApp
to the running server. Then, you can test your mediation flow in the
test client.
- To add the StockQuoteApp project to the server, right-click on
the server and select Add and remove project....
Select the StockQuoteApp project from the Available projects list
and click Add > to add it to the Configured
projects list. Click Finish and wait for the
server to finish publishing.
- Open the Assembly Diagram of the StockQuote mediation
module. Then right-click on the StockQuote_MediationFlow component
and select Test Component. The Events page
of the integrated test client opens.
- In the Events page, you can select the modules, components, interfaces
and operations you wish to test. For this sample, ensure the Detailed
Properties are:
- Configuration: Default Module Test
- Module: StockQuote
- Component: StockQuote_MediationFlow
- Interface: StockQuoteService
- Operation: getQuote
- In the Initial request parameters table, you enter information
by double clicking the cell in the value column. Double-click the
value cell in the symbol row and enter AAA.
In the same manner, enter CustomerA for the customerID.
- Next, push the Continue button
to invoke the getQuote operation. The Deployment Location
dialog opens.
- Select a server and click Finish. You can
run mediation flows on either WebSphere Process Server or WebSphere
Enterprise Service Bus. Enter the User ID and password for your server.
The default is admin/admin.
- You will see the resulting values for qualityOfService and value
in the return parameters.