web analytics
free online training

Lesson02-Mediator

SOA Suite 11g Mediator Example Implementation Part 3

Download MediatorExample.

Following Part 2 of implementation earlier, let us proceed to the final step.

Part 3: Database Adapter for Order Management

Create ORDERS and ITEMS tables in the database of your choice. Description of these tables shown below. SQL script can be downloaded from here.

image

Drag and drop a Database Adapter from Component Palette on to Services section of composite.xml. Enter OrderManagementDBAdapter for “Service Name”.

orafmwschool_mediator_48

Select Database properties in the next screen. This presume you’ve successfully created Database connection pointing to the database containing ORDERS and ITEMS tables. If not, please click on the pencil icon next to “+” icon and create a new database connection.

orafmwschool_mediator_49

 

VN:F [1.9.17_1161]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)

SOA Suite 11g Mediator Example Implementation Part 2

Download MediatorExample.

Following Part 1 of implementation earlier, let us proceed to the next step.

Part 2:

Drag and drop a File Adapter from Component Palette on to Components section of composite.xml. Enter OrderFTPClientService for service name.

orafmwschool_mediator_020

Enter values for next steps as shown in screenshots below.

orafmwschool_mediator_021
orafmwschool_mediator_22

 

Select “Read File” as Operation Type and enter operation name as ReadFTPFile as shown below.

orafmwschool_mediator_23

Related posts

SOA Suite 11g Mediator Example Implementation Part 1

Download MediatorExample.

Following our Mediator Example Design earlier, let us proceed to implementation using JDeveloper.

Part 1: Creating based on WSDL

Create a new Generic project in JDeveloper and name it MediatorExample. Select SOA from available Project Technologies.

orafmwschool_mediator_001 orafmwschool_mediator_003

Select Empty Composite from Composite Template.

orafmwschool_mediator_004

Click on Finish. JDeveloper will now display empty Composite page. Drag and drop a Mediator component from Component Palette. Specify OrderABCS in Name field and for Template select Define Interface Later.

orafmwschool_mediator_007

Related posts

SOA Suite 11g Mediator Example Design

Let us see how we can utilize features of component (previously known as Oracle ) to implement the following use-case.

MyBay is a fictious online store that lets customers view and place orders over the internet. MyBay utilizes its logistics partner MyDel to ship orders to customers. IT systems to handle order processing are created and maintained by MyDel.

MyBay can post order information to MyDel through MyBay’s online portal using Webservices. MyBay can also batch orders and transfer the file across to MyDel using FTP.

image

Related posts