Create A Database Adapter To Read The Doctor Table - Oracle Application Server 10.1.3.4 User Manual

Adapters for ims/db release 3 (10.1.3.4)
Table of Contents

Advertisement

Deploy a BPEL Outbound Process
Click Next to review the input/output schema elements or click Finish.
5.

Create a Database Adapter to Read the Doctor Table

You create a database adapter to read the DOCTOR table. SOA executes the SQL
statement defined in the interaction and passes it to a resource adapter. The resource
adapter then processes the information and returns the data. Do the following to create
the database adapter.
Drag a PartnerLink into a service lane of the visual editor. The Create Partner Link
1.
dialog box is displayed.
Figure 5–2 Partner Link for Database Adapter
Click the Adapter Wizard button. This is the third button in the WDSL Settings
2.
section of the Create Partner Link dialog box, as shown in the figure above.
Enter the following information in the Adapter Configuration wizard:
3.
a.
b.
c.
5-4 Oracle Application Server Adapters for IMS/DB User's Guide
Step 1, Adapter Type: Select Database Adapter.
Step 2, Service Name: type findDoctor
Step 3, Service Connection. In this step select the database you want to work
with.
Click New to open the Create Database Connection wizard.
Step 1: Select the connection type:
Connection Name: dbConnection1
Connection Type: Oracle (JDBC)
Step 2: Authentication.
Enter the User Name, Password, and Role for the database connection
Step 3: Enter the database connection information.
Enter the driver type (thin, oci), the name of the computer where JDBC is
deployed, and its port number. This information should be the same as
defined in the JDBC connecton facrory. See
Adapter.
Select Service Name and enter findDoctor.
Click Finish to go back to the Adapter Configuration wizard.
Configuring the J2CA 1.5 IMS/DB

Advertisement

Table of Contents
loading

This manual is also suitable for:

Application server 10g

Table of Contents