Skip navigation.

Application Developer's Guide

  Previous Next vertical dots separating previous/next from contents/index/pdf Contents Index View as PDF   Get Adobe Reader

Invoking Queries in WebLogic Integration Business Processes

This chapter describes how to invoke BEA Liquid Data for WebLogic queries from business processs in BEA WebLogic Integration. It contains the following sections:

 


Liquid Data and WebLogic Integration Business Processes

Business processes in WebLogic Integration can invoke Liquid Data queries using a Liquid Data Control. For comprehensive information about WebLogic Integration, see the WebLogic Integration documentation.

A business process can use a Liquid Data query to easily gather data from disparate data sources. For an example of a business process that uses a Liquid Data query, open the Liquid Data sample application in WebLogic Workshop. The sample application is installed in the following location:

<BEA_HOME>/weblogic81/samples/liquiddata/SampleApp/SampleApp.work

The sample application uses a WebLogic Integration business process to submit updated user profile data entered by the user (for example, address, credit card, and so on), and then use a Liquid Data query to return the updated profile.

 


Setting Up a Liquid Data Query in a Business Process

You can easily add Liquid Data queries to WebLogic Integration business processes by creating a Liquid Data Control that accesses the query or queries you want to use in the business process. The procedure for invoking a Liquid Data query is similar to that of invoking a database query with a database control.

There are three basic steps to adding Liquid Data Queries to a WebLogic Integration business processes:

Create the Liquid Data Control

Before you can run a Liquid Data query in a WebLogic Integration business process, you must create a Liquid Data Control that accesses the query or queries you want to run in your business process. For details, see Using Liquid Data Controls to Develop Workshop Applications.

Adding a Liquid Data Control to a JPD File

Once you have created a Liquid Data Control, you can add it to a business process the same way you add any other control to a business process. For example, you can drag and drop the control into the WebLogic Integration business process in the place where you want to run your Liquid Data query or you can add the Liquid Data Control to the Data Palette. For comprehensive information about using WebLogic Integration, see the WebLogic Integration documentation.

Setting Up the Control in the Business Process

Once you have added the Liquid Data Control to the business process, you must configure it in your business process. As shown in Figure 6-1, you must select the query in the General Settings section of the Liquid Data Control portion of the business process, specify input parameters for the query in the Send Data section, and specify the output of the query in the Receive Data section.

Figure 6-1 WebLogic Integration Business Process Accessing a Liquid Data Control

WebLogic Integration Business Process Accessing a Liquid Data Control


 

For an example of using a Liquid Data Control in a WebLogic Integration business process, see the Liquid Data sample application.

 

Skip navigation bar  Back to Top Previous Next