SlideShare a Scribd company logo
Hands-On with Oracle SOA
November 14th, 2012
10:30-11:15
Room vt445
Cristian Durca Ahmed Aboulnaga
Technical Architect Technical Director
Raastec, Inc. Raastech, Inc.
Slide 2 of 98 © Raastech, Inc. 2012 | All rights reserved.
1. Understanding Oracle Integration Products
2. Our “Integration” Use Case
3. Implementing the Solution
4. Summary
Agenda
Slide 3 of 98 © Raastech, Inc. 2012 | All rights reserved.
UNDERSTANDING
ORACLE INTEGRATION PRODUCTS
Slide 4 of 98 © Raastech, Inc. 2012 | All rights reserved.
Oracle Fusion Middleware
Slide 5 of 98 © Raastech, Inc. 2012 | All rights reserved.
Oracle Fusion Middleware
 Oracle Fusion Apps
 Oracle E-Business Suite
 Oracle JD Edwards
 Oracle PeopleSoft
 Oracle Siebel
 Oracle Retail
 More…
Slide 6 of 98 © Raastech, Inc. 2012 | All rights reserved.
Oracle Fusion Middleware
 Oracle Database
 Oracle MySQL
Slide 7 of 98 © Raastech, Inc. 2012 | All rights reserved.
Oracle Fusion Middleware
 Oracle Enterprise Linux
 Oracle Solaris
 Oracle VM
 Oracle Exadata/Exalogic
 Oracle SPARC
 Oracle Storage Products
Slide 8 of 98 © Raastech, Inc. 2012 | All rights reserved.
Oracle Fusion Middleware
 Oracle Fusion Middleware
Slide 9 of 98 © Raastech, Inc. 2012 | All rights reserved.
 Oracle SOA Suite
 Oracle Service Bus (OSB)
 Oracle Data Integrator (ODI)
 Oracle Web Services Manager (OWSM)
 Oracle Application Integration Architecture (AIA)
 Oracle Business Activity Monitoring (BAM)
 Oracle GoldenGate
 Oracle Enterprise Repository (OER)
 Oracle Enterprise Gateway (OEG)
 Oracle Service Registry (OSR)
 Oracle B2B Integration
Oracle Integration Products
Slide 10 of 98 © Raastech, Inc. 2012 | All rights reserved.
 Oracle SOA Suite
 Oracle Service Bus (OSB)
 Oracle Data Integrator (ODI)
 Oracle Web Services Manager (OWSM)
 Oracle Application Integration Architecture (AIA)
 Oracle Business Activity Monitoring (BAM)
 Oracle GoldenGate
 Oracle Enterprise Repository (OER)
 Oracle Enterprise Gateway (OEG)
 Oracle Service Registry (OSR)
 Oracle B2B Integration
Oracle Integration Products
Slide 11 of 98 © Raastech, Inc. 2012 | All rights reserved.
 Transforms complex architectures into agile integration
networks by connecting, mediating, and managing
interactions between services and applications
 Delivers low-cost, standards-based integration for mission
critical SOA environments where extreme performance
and scalability are requirements
Slide 12 of 98 © Raastech, Inc. 2012 | All rights reserved.
 A comprehensive and easy-to-use solution for policy
management and security of service infrastructure
 Provides visibility and control of the policies through a
centralized administration interface offered by Oracle
Enterprise Manager
Slide 13 of 98 © Raastech, Inc. 2012 | All rights reserved.
 A comprehensive, hot-pluggable software suite to build,
deploy and manage Service-Oriented Architectures
(SOA)
 Unified application development tooling and end-to-end
lifecycle management
Slide 14 of 98 © Raastech, Inc. 2012 | All rights reserved.
 Gives business executives the ability to monitor their
business services and processes in the enterprise
 Correlate KPIs down to the actual business process
themselves
 Allows the ability to change business processes quickly or
to take corrective action if the business environment
changes
Slide 15 of 98 © Raastech, Inc. 2012 | All rights reserved.
OUR “INTEGRATION” USE CASE
Slide 16 of 98 © Raastech, Inc. 2012 | All rights reserved.
High Level Flow of Use Case
Web
Application
OSB Proxy
Service
Mobile
Application
SOA Suite
Composite
Database
Table 1
&
Table 2
BAM
Reports
OWSM
Policy
Slide 17 of 98 © Raastech, Inc. 2012 | All rights reserved.
 Consider using OSB as your entry (and/or exit) points
 OSB is lightweight, and easily supports throttling and caching
 OSB proxy services are usually exposed as web services
Why OSB?
Web
Application
OSB Proxy
Service
Mobile
Application
OSB Proxy
Service
OSB Proxy
Service
OSB Proxy
Service
Slide 18 of 98 © Raastech, Inc. 2012 | All rights reserved.
<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<wsse:Security soap:mustUnderstand="1">
<wsse:UsernameToken>
<wsse:Username>myusername</wsse:Username>
<wsse:Password>mypassword</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soap:Header>
 Install the Oracle Service Bus OWSM Extension to provide
support for WS-Security
 Attach the policy “oracle/wss_username_token_service_policy”
 Client must supply username and password in the SOAP
header
Why OWSM?
OSB Proxy
Service
OWSM
Policy
Slide 19 of 98 © Raastech, Inc. 2012 | All rights reserved.
 Incoming payload includes:
 Item Number
 Quantity
 Dollar Amount
 Type Flag (‘M’ for mobile, ‘W’ for web)
 Use BPEL for complicated flows and/or orchestration
(e.g., calculate tax)
 Use Mediator to route to the correct table based on the flag
in the payload
Why SOA Suite?
SOA Suite Composite
BPEL
(calculate tax)
Mediator
(route)
Slide 20 of 98 © Raastech, Inc. 2012 | All rights reserved.
 BAM is essentially a reporting tool
 Designed to capture in-flight transactions and report on
them in real-time
 Does not impact performance of integration flow
 In our use case, publish total dollar amounts of web
orders to BAM for management reporting
Why BAM?
SOA Suite
Composite
BAM
Reports
Slide 21 of 98 © Raastech, Inc. 2012 | All rights reserved.
Bringing it all together…
Web
Application
OSB Proxy
Service
Mobile
Application
SOA Suite
Composite
Database
Table 1
&
Table 2
BAM
Reports
OWSM
Policy
The Oracle Integration Layer
Slide 22 of 98 © Raastech, Inc. 2012 | All rights reserved.
IMPLEMENTING THE SOLUTION
Slide 23 of 98 © Raastech, Inc. 2012 | All rights reserved.
 Create the Order.xsd schema file
 An XML schema describes the structure of an XML message
Create XML Schema
<?xml version="1.0" encoding="ISO-8859-1" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="Order">
<xs:complexType>
<xs:sequence>
<xs:element name="OrderType" type="xs:string"/>
<xs:element name="ItemNumber" type="xs:string"/>
<xs:element name="Quantity" type="xs:positiveInteger"/>
<xs:element name="Price" type="xs:decimal"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Slide 24 of 98 © Raastech, Inc. 2012 | All rights reserved.
Web
Application
OSB Proxy
Service
Mobile
Application
SOA Suite
Composite
Database
Table 1
&
Table 2
BAM
Reports
OWSM
Policy
Slide 25 of 98 © Raastech, Inc. 2012 | All rights reserved.
 These tables represent the backend for our order system
Create the backend database tables
CREATE TABLE web_orders (
item_number VARCHAR2(10),
quantity NUMBER,
dollar_amount NUMBER(7,2)
);
CREATE TABLE mobile_orders (
item_number VARCHAR2(10),
quantity NUMBER,
dollar_amount NUMBER(7,2)
);
Slide 26 of 98 © Raastech, Inc. 2012 | All rights reserved.
Web
Application
OSB Proxy
Service
Mobile
Application
SOA Suite
Composite
Database
Table 1
&
Table 2
BAM
Reports
OWSM
Policy
Slide 27 of 98 © Raastech, Inc. 2012 | All rights reserved.
 BAM Data Objects are essentially tables
 Used to store data that is published to BAM
Create the BAM Data Objects
Slide 28 of 98 © Raastech, Inc. 2012 | All rights reserved.
 BAM Data Objects are essentially tables
 Used to store data that is published to BAM
Create the BAM Data Objects
Slide 29 of 98 © Raastech, Inc. 2012 | All rights reserved.
Create the BAM Data Objects
Slide 30 of 98 © Raastech, Inc. 2012 | All rights reserved.
Web
Application
OSB Proxy
Service
Mobile
Application
SOA Suite
Composite
Database
Table 1
&
Table 2
BAM
Reports
OWSM
Policy
Slide 31 of 98 © Raastech, Inc. 2012 | All rights reserved.
BAM
Data Object
SOA Suite Composite
BPEL
(calculate tax)
Mediator
(route)
WebOrders Table
MobileOrders Table
Price x 1.05
OrderType = ‘W’
OrderType = ‘M’
Slide 32 of 98 © Raastech, Inc. 2012 | All rights reserved.
 A SOA composite application can consist of multiple
components, such as:
 BPEL component
 Mediator component
 Database Adapters
 BAM Adapter
 Open up JDeveloper 11g
 Create a new SOA project
Create SOA composite
Slide 33 of 98 © Raastech, Inc. 2012 | All rights reserved.
Create a SOA project
Slide 34 of 98 © Raastech, Inc. 2012 | All rights reserved.
Create a SOA project
Slide 35 of 98 © Raastech, Inc. 2012 | All rights reserved.
 Adapters are used for easily referencing technologies
such as databases, file systems, FTP servers, JMS, and
so forth
 The Database Adapter hides the underlying
implementation of the connectivity of the database, so
that the SOA developer can focus on building
integrations
 Simply drag the Database Adapter to the external
references pane
Create Database Adapters for each table
Slide 36 of 98 © Raastech, Inc. 2012 | All rights reserved.
Drag Database Adapter to pane
Slide 37 of 98 © Raastech, Inc. 2012 | All rights reserved.
Use Database Adapter configuration wizard
 Provide a name for the reference
Slide 38 of 98 © Raastech, Inc. 2012 | All rights reserved.
Choose a database to connect to
Slide 39 of 98 © Raastech, Inc. 2012 | All rights reserved.
Select table and columns
 Select the table name and columns from the database
Slide 40 of 98 © Raastech, Inc. 2012 | All rights reserved.
Select type of operation on this table
Slide 41 of 98 © Raastech, Inc. 2012 | All rights reserved.
Database Adapters created in JDeveloper
Slide 42 of 98 © Raastech, Inc. 2012 | All rights reserved.
 Create a Mediator component
 Mediator’s strengths are in transformation and routing
 Route to the Database Adapters that we just created…
…based on a filter on the ‘OrderType’ flag
Create SOA Mediator component
Slide 43 of 98 © Raastech, Inc. 2012 | All rights reserved.
Create SOA Mediator component
 Create a name for the Mediator component
Slide 44 of 98 © Raastech, Inc. 2012 | All rights reserved.
Create SOA Mediator component
 Use the XSD we created earlier as our message input
Slide 45 of 98 © Raastech, Inc. 2012 | All rights reserved.
Create a WSDL for the Mediator component
Slide 46 of 98 © Raastech, Inc. 2012 | All rights reserved.
Create a routing rule
Slide 47 of 98 © Raastech, Inc. 2012 | All rights reserved.
Select the Database Adapter
 Select the Database Adapter we had created earlier
Slide 48 of 98 © Raastech, Inc. 2012 | All rights reserved.
Create a filter expression
Slide 49 of 98 © Raastech, Inc. 2012 | All rights reserved.
Create a filter expression
Slide 50 of 98 © Raastech, Inc. 2012 | All rights reserved.
Create a transformation
Slide 51 of 98 © Raastech, Inc. 2012 | All rights reserved.
Map the XML to the Database Adapter object
Slide 52 of 98 © Raastech, Inc. 2012 | All rights reserved.
How the composite looks like so far
Slide 53 of 98 © Raastech, Inc. 2012 | All rights reserved.
 BPEL is used for orchestration or complicated logic
 Simply drag the “BPEL Process” to the composite pane
Create SOA BPEL component
Slide 54 of 98 © Raastech, Inc. 2012 | All rights reserved.
Create SOA BPEL component
Slide 55 of 98 © Raastech, Inc. 2012 | All rights reserved.
Link the BPEL to the Mediator
Slide 56 of 98 © Raastech, Inc. 2012 | All rights reserved.
Create an ‘Assign’ activity
Slide 57 of 98 © Raastech, Inc. 2012 | All rights reserved.
Multiply the price
Slide 58 of 98 © Raastech, Inc. 2012 | All rights reserved.
Multiply the price
Slide 59 of 98 © Raastech, Inc. 2012 | All rights reserved.
Map rest of BPEL elements to Mediator object
Slide 60 of 98 © Raastech, Inc. 2012 | All rights reserved.
Create an ‘Assign’ activity for the response
Slide 61 of 98 © Raastech, Inc. 2012 | All rights reserved.
Create an ‘Assign’ activity for the response
Slide 62 of 98 © Raastech, Inc. 2012 | All rights reserved.
 Similar to the Database Adapter, drag the BAM Adapter
 Will query the BAM server and list all available data objects
Create BAM Adapter
Slide 63 of 98 © Raastech, Inc. 2012 | All rights reserved.
Create BAM Adapter
Slide 64 of 98 © Raastech, Inc. 2012 | All rights reserved.
Create BAM Adapter
Slide 65 of 98 © Raastech, Inc. 2012 | All rights reserved.
Map BPEL object to BAM object
Slide 66 of 98 © Raastech, Inc. 2012 | All rights reserved.
How the final SOA composite looks like
Slide 67 of 98 © Raastech, Inc. 2012 | All rights reserved.
Deploy SOA composite
 Right-click on the composite name to deploy to SOA server
 URL becomes:
http://soadev:8001/soa-infra/services/default/ProcessOrder/calculatetax_client_ep?WSDL
Slide 68 of 98 © Raastech, Inc. 2012 | All rights reserved.
Web
Application
OSB Proxy
Service
Mobile
Application
SOA Suite
Composite
Database
Table 1
&
Table 2
BAM
Reports
OWSM
Policy
Slide 69 of 98 © Raastech, Inc. 2012 | All rights reserved.
OWSM Policy
OSB Project
Proxy
Service
Business
Service
http://soadev:8001/soa-infra/...http://soadev:7001/ProcessOrderProxy/...
SOA
Composite
Slide 70 of 98 © Raastech, Inc. 2012 | All rights reserved.
 The OSB server is on a separate managed server
 Import the WSDL of the SOA composite
 Create a Business Service (the link to the SOA composite)
 Create a Proxy Service (the exposed interface)
 Secure the Proxy Service with an OWSM Policy
Create OSB project
Slide 71 of 98 © Raastech, Inc. 2012 | All rights reserved.
Create OSB project
Slide 72 of 98 © Raastech, Inc. 2012 | All rights reserved.
Import the SOA composite WSDL
Slide 73 of 98 © Raastech, Inc. 2012 | All rights reserved.
Import the SOA composite WSDL
Slide 74 of 98 © Raastech, Inc. 2012 | All rights reserved.
Create OSB Business Service
Slide 75 of 98 © Raastech, Inc. 2012 | All rights reserved.
Create OSB Business Service
Slide 76 of 98 © Raastech, Inc. 2012 | All rights reserved.
Create OSB Proxy Service
Slide 77 of 98 © Raastech, Inc. 2012 | All rights reserved.
Create OSB Proxy Service
Slide 78 of 98 © Raastech, Inc. 2012 | All rights reserved.
Web
Application
OSB Proxy
Service
Mobile
Application
SOA Suite
Composite
Database
Table 1
&
Table 2
BAM
Reports
OWSM
Policy
Slide 79 of 98 © Raastech, Inc. 2012 | All rights reserved.
Click on Proxy Service
Slide 80 of 98 © Raastech, Inc. 2012 | All rights reserved.
Attach OWSM Policy to OSB Proxy Service
Slide 81 of 98 © Raastech, Inc. 2012 | All rights reserved.
To identify exposed URL
Slide 82 of 98 © Raastech, Inc. 2012 | All rights reserved.
 The exposed WSDL for the OSB Proxy Service:
http://soadev:7001/ProcessOrderProxy/ProcessOrderPS?wsdl
 This is the WSDL that the web/client applications will invoke
Final OSB exposed WSDL
Slide 83 of 98 © Raastech, Inc. 2012 | All rights reserved.
Web
Application
OSB Proxy
Service
Mobile
Application
SOA Suite
Composite
Database
Table 1
&
Table 2
BAM
Reports
OWSM
Policy
Slide 84 of 98 © Raastech, Inc. 2012 | All rights reserved.
 Use soapUI to test the WSDL
Test with soapUI
Slide 85 of 98 © Raastech, Inc. 2012 | All rights reserved.
Observe authentication failure
 Seems to be some security error
 Valid error… no username/password provided in payload!
Slide 86 of 98 © Raastech, Inc. 2012 | All rights reserved.
Test with security token in SOAP header
 With authentication info in header, we get our ‘Done’ response
Slide 87 of 98 © Raastech, Inc. 2012 | All rights reserved.
Observe instance in EM Console
Slide 88 of 98 © Raastech, Inc. 2012 | All rights reserved.
 Clicking on the instance ID shows a successful flow
 Data only inserted to the ‘WebOrders’ table as expected
View instance flow
Slide 89 of 98 © Raastech, Inc. 2012 | All rights reserved.
View Mediator instance details
Slide 90 of 98 © Raastech, Inc. 2012 | All rights reserved.
 Querying the database table confirms this
Confirm data in database
Slide 91 of 98 © Raastech, Inc. 2012 | All rights reserved.
 Data also published to BAM!
 Can now create a report to query this Data Object
Confirm data in BAM Data Object
Slide 92 of 98 © Raastech, Inc. 2012 | All rights reserved.
SUMMARY
Slide 93 of 98 © Raastech, Inc. 2012 | All rights reserved.
1. Create an XML Schema
2. Create the database tables
3. Create the BAM Data Object
Summary
Slide 94 of 98 © Raastech, Inc. 2012 | All rights reserved.
4. Create the SOA composite with JDeveloper
a. Open up JDeveloper 11g
b. Create a SOA project
c. Create 2 Database Adapter services
d. Create a Mediator component
i. Create a web service interface using the XSD file
ii. Create 2 routing rules to the 2 database services
iii. Use a filter expression on the 'OrderType' element
e. Create a BPEL component
i. Link the BPEL component with the Mediator component
ii. Map the input of the BPEL to the input of the Mediator
iii. But multiple the price by 1.05
iv. Create a BAM Adapter to the BAM Data Object
v. Map the input of the BPEL to the BAM Adapter
Summary
Slide 95 of 98 © Raastech, Inc. 2012 | All rights reserved.
5. Deploy the SOA composite
a. Get the WSDL of the SOA composite
6. Create an OSB project
a. Create a Business Service using this SOA WSDL
b. Create a Proxy Service as the OSB interface
c. Secure the Proxy Service with an OWSM Policy
7. Test using soapUI
Summary
Slide 96 of 98 © Raastech, Inc. 2012 | All rights reserved.
 Understand where each product should be aligned
 There is some overlap between products
 There is no one-size fits all architecture
 Understand the difference between and usage of OSB,
OWSM, BAM, and SOA Suite
 Observe first hand a walkthrough demo:
 OSB used as a passthrough, but has other benefits not demo’ed here
 OWSM provides a mechanism to attach security policies to a service
 BPEL used for orchestration
 Mediator used for routing
Take Aways
Slide 97 of 98 © Raastech, Inc. 2012 | All rights reserved.
 All these products are provided as part of a single Oracle
SOA Suite license, so take advantage of them!
 You can use any combination of OSB, BPEL, or Mediator
depending on your needs
Final Thoughts
Slide 98 of 98 © Raastech, Inc. 2012 | All rights reserved.
Contact Information
Cristian Durca
Technical Architect
cristian.durca@raastech.com
Ahmed Aboulnaga
Technical Director
ahmed.aboulnaga@raastech.com

More Related Content

PDF
Ebs soa con8716_pdf_8716_0001
PDF
Oracle SOA Development - Hands-On from Start to Finish
PPTX
Oracle SOA, AIA & Fusion Apps
PDF
An Unbiased Look: Oracle SOA Suite 12c
PDF
Implementing Applications with SOA and Application Integration Architecture
PDF
Best Practices for Building an Enterprise SOA Infrastructure on Oracle SOA Suite
PDF
Oracle SOA Suite 12c - News and Overview
PPTX
Five Cool Use Cases for the Spring Component of the SOA Suite 11g
Ebs soa con8716_pdf_8716_0001
Oracle SOA Development - Hands-On from Start to Finish
Oracle SOA, AIA & Fusion Apps
An Unbiased Look: Oracle SOA Suite 12c
Implementing Applications with SOA and Application Integration Architecture
Best Practices for Building an Enterprise SOA Infrastructure on Oracle SOA Suite
Oracle SOA Suite 12c - News and Overview
Five Cool Use Cases for the Spring Component of the SOA Suite 11g

What's hot (20)

PPTX
Oracle integration cloud service (ICS) best practices learned from the field ...
PDF
Deploying to Oracle SOA Suite 12c - Everything You Need To Know
PPTX
Look at Oracle Integration Cloud – its relationship to ICS. Customer use Case...
PDF
E-Business Suite on Oracle Cloud
PDF
Solaris 11.2 What's New
PPTX
Presentation oracle exalogic elastic cloud
PDF
OOW16 - Oracle E-Business Suite Information Discovery: Your Journey to the Cl...
PPTX
AMIS 25: Moving Integration to the Cloud
PPT
Oracle SOA Suite 11g Mediator vs. Oracle Service Bus (OSB)
PDF
Role of DBAs in CLOUD ERA - AIOUG Hyd Chapter - Oracle Cloud Day
PDF
Developing Oracle Fusion Middleware Applications in the Cloud
PDF
Solving todays problems with oracle integration cloud
PDF
OOW15 - Installation, Cloning, and Configuration of Oracle E-Business Suite 12.2
PDF
Top 10 reasons to adopt cloud
PDF
OOW16 - Oracle Enterprise Manager 13c Cloud Control for Managing Oracle E-Bus...
PPT
Oracle 10g Application Server
PDF
Cloud Integration Strategy
PDF
What Every Client Should Do on Their Oracle SOA Projects
PDF
Découvrons Oracle Cloud Platform for Integration - Oracle Integration Cloud
PDF
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
Oracle integration cloud service (ICS) best practices learned from the field ...
Deploying to Oracle SOA Suite 12c - Everything You Need To Know
Look at Oracle Integration Cloud – its relationship to ICS. Customer use Case...
E-Business Suite on Oracle Cloud
Solaris 11.2 What's New
Presentation oracle exalogic elastic cloud
OOW16 - Oracle E-Business Suite Information Discovery: Your Journey to the Cl...
AMIS 25: Moving Integration to the Cloud
Oracle SOA Suite 11g Mediator vs. Oracle Service Bus (OSB)
Role of DBAs in CLOUD ERA - AIOUG Hyd Chapter - Oracle Cloud Day
Developing Oracle Fusion Middleware Applications in the Cloud
Solving todays problems with oracle integration cloud
OOW15 - Installation, Cloning, and Configuration of Oracle E-Business Suite 12.2
Top 10 reasons to adopt cloud
OOW16 - Oracle Enterprise Manager 13c Cloud Control for Managing Oracle E-Bus...
Oracle 10g Application Server
Cloud Integration Strategy
What Every Client Should Do on Their Oracle SOA Projects
Découvrons Oracle Cloud Platform for Integration - Oracle Integration Cloud
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
Ad

Viewers also liked (6)

PDF
Oracle Service Bus and Oracle SOA Suite in the Mobile World
PDF
Getting Started with Security for your Oracle SOA Suite Integrations
PPT
Oracle Service Bus vs. Oracle Enterprise Service Bus vs. BPEL
PPTX
Where and when to use the Oracle Service Bus (OSB)
PDF
Primavera integration possibilities technical overview ppt
PPT
Oracle SOA Suite in use – a practical experience report
Oracle Service Bus and Oracle SOA Suite in the Mobile World
Getting Started with Security for your Oracle SOA Suite Integrations
Oracle Service Bus vs. Oracle Enterprise Service Bus vs. BPEL
Where and when to use the Oracle Service Bus (OSB)
Primavera integration possibilities technical overview ppt
Oracle SOA Suite in use – a practical experience report
Ad

Similar to Hands-On with Oracle SOA (20)

PDF
Oracle SOA Tips & Tricks
PDF
Little Known Tips & Tricks from Across the Oracle SOA Landscape
PDF
Oracle SOA Tips & Tricks (whitepaper)
PDF
An Unbiased Look: Oracle SOA Suite 12c
PDF
Osb Bam Integration
PDF
OOW09 Integration Architecture EBS R12
PDF
Report from the trenches: Using SOA Integrated Gateway
PDF
Oracle service bus (osb) for the busy it
PPT
Oracle fusion soa online training in africa
PPT
Oracle fusion soa online training in africa
PPT
Oracle fusion soa online training in africa
PDF
Demystifying Oracle 'Con'Fusion Middleware
PDF
Summer training oracle
PPTX
oracle ebs free web service integration tools
PDF
Soa suite12c presentation @AMIS by Simone Geib
PPTX
Introduction to soa suite 12c in 20 slides
PPTX
Oaug collaborate sadia_tahseen
PDF
Optimize Oracle Application Integration Architecture (AIA) for Communications
PPTX
Summer training oracle
PPTX
The Story of How an Oracle Classic Stronghold successfully embraced SOA (ODTU...
Oracle SOA Tips & Tricks
Little Known Tips & Tricks from Across the Oracle SOA Landscape
Oracle SOA Tips & Tricks (whitepaper)
An Unbiased Look: Oracle SOA Suite 12c
Osb Bam Integration
OOW09 Integration Architecture EBS R12
Report from the trenches: Using SOA Integrated Gateway
Oracle service bus (osb) for the busy it
Oracle fusion soa online training in africa
Oracle fusion soa online training in africa
Oracle fusion soa online training in africa
Demystifying Oracle 'Con'Fusion Middleware
Summer training oracle
oracle ebs free web service integration tools
Soa suite12c presentation @AMIS by Simone Geib
Introduction to soa suite 12c in 20 slides
Oaug collaborate sadia_tahseen
Optimize Oracle Application Integration Architecture (AIA) for Communications
Summer training oracle
The Story of How an Oracle Classic Stronghold successfully embraced SOA (ODTU...

More from Revelation Technologies (20)

PDF
Operating System Security in the Cloud
PDF
Getting Started with Terraform
PDF
Getting Started with API Management
PDF
Automating Cloud Operations: Everything You Wanted to Know about cURL and REST
PDF
Getting Started with API Management – Why It's Needed On-prem and in the Cloud
PDF
Automating Cloud Operations - Everything you wanted to know about cURL and RE...
PDF
Introducing the Oracle Cloud Infrastructure (OCI) Best Practices Framework
PDF
Everything You Need to Know About the Microsoft Azure and Oracle Cloud Interc...
PDF
PTK Issue 72: Delivering a Platform on Demand
PDF
PTK Issue 71: The Compute Cloud Performance Showdown
PDF
Everything You Need to Know About the Microsoft Azure and Oracle Cloud Interc...
PDF
Compute Cloud Performance Showdown: 18 Months Later (OCI, AWS, IBM Cloud, GCP...
PDF
Compute Cloud Performance Showdown: 18 Months Later (OCI, AWS, IBM Cloud, GCP...
PDF
The Microsoft Azure and Oracle Cloud Interconnect Everything You Need to Know
PDF
Compute Cloud Performance Showdown: Amazon Web Services, Oracle Cloud, IBM ...
PDF
Securing your Oracle Fusion Middleware Environment, On-Prem and in the Cloud
PDF
Hands-On with Oracle SOA Cloud Service
PDF
Oracle BPM Suite Development: Getting Started
PDF
Developing Web Services from Scratch - For DBAs and Database Developers
PDF
Domain Partitions and Multitenancy in Oracle WebLogic Server 12c - Why It's U...
Operating System Security in the Cloud
Getting Started with Terraform
Getting Started with API Management
Automating Cloud Operations: Everything You Wanted to Know about cURL and REST
Getting Started with API Management – Why It's Needed On-prem and in the Cloud
Automating Cloud Operations - Everything you wanted to know about cURL and RE...
Introducing the Oracle Cloud Infrastructure (OCI) Best Practices Framework
Everything You Need to Know About the Microsoft Azure and Oracle Cloud Interc...
PTK Issue 72: Delivering a Platform on Demand
PTK Issue 71: The Compute Cloud Performance Showdown
Everything You Need to Know About the Microsoft Azure and Oracle Cloud Interc...
Compute Cloud Performance Showdown: 18 Months Later (OCI, AWS, IBM Cloud, GCP...
Compute Cloud Performance Showdown: 18 Months Later (OCI, AWS, IBM Cloud, GCP...
The Microsoft Azure and Oracle Cloud Interconnect Everything You Need to Know
Compute Cloud Performance Showdown: Amazon Web Services, Oracle Cloud, IBM ...
Securing your Oracle Fusion Middleware Environment, On-Prem and in the Cloud
Hands-On with Oracle SOA Cloud Service
Oracle BPM Suite Development: Getting Started
Developing Web Services from Scratch - For DBAs and Database Developers
Domain Partitions and Multitenancy in Oracle WebLogic Server 12c - Why It's U...

Recently uploaded (20)

PDF
Modernizing your data center with Dell and AMD
PDF
Encapsulation_ Review paper, used for researhc scholars
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Big Data Technologies - Introduction.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Network Security Unit 5.pdf for BCA BBA.
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Approach and Philosophy of On baking technology
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
KodekX | Application Modernization Development
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Unlocking AI with Model Context Protocol (MCP)
Modernizing your data center with Dell and AMD
Encapsulation_ Review paper, used for researhc scholars
“AI and Expert System Decision Support & Business Intelligence Systems”
Big Data Technologies - Introduction.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Network Security Unit 5.pdf for BCA BBA.
The AUB Centre for AI in Media Proposal.docx
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
MYSQL Presentation for SQL database connectivity
Approach and Philosophy of On baking technology
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Building Integrated photovoltaic BIPV_UPV.pdf
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Diabetes mellitus diagnosis method based random forest with bat algorithm
KodekX | Application Modernization Development
The Rise and Fall of 3GPP – Time for a Sabbatical?
Unlocking AI with Model Context Protocol (MCP)

Hands-On with Oracle SOA

  • 1. Hands-On with Oracle SOA November 14th, 2012 10:30-11:15 Room vt445 Cristian Durca Ahmed Aboulnaga Technical Architect Technical Director Raastec, Inc. Raastech, Inc.
  • 2. Slide 2 of 98 © Raastech, Inc. 2012 | All rights reserved. 1. Understanding Oracle Integration Products 2. Our “Integration” Use Case 3. Implementing the Solution 4. Summary Agenda
  • 3. Slide 3 of 98 © Raastech, Inc. 2012 | All rights reserved. UNDERSTANDING ORACLE INTEGRATION PRODUCTS
  • 4. Slide 4 of 98 © Raastech, Inc. 2012 | All rights reserved. Oracle Fusion Middleware
  • 5. Slide 5 of 98 © Raastech, Inc. 2012 | All rights reserved. Oracle Fusion Middleware  Oracle Fusion Apps  Oracle E-Business Suite  Oracle JD Edwards  Oracle PeopleSoft  Oracle Siebel  Oracle Retail  More…
  • 6. Slide 6 of 98 © Raastech, Inc. 2012 | All rights reserved. Oracle Fusion Middleware  Oracle Database  Oracle MySQL
  • 7. Slide 7 of 98 © Raastech, Inc. 2012 | All rights reserved. Oracle Fusion Middleware  Oracle Enterprise Linux  Oracle Solaris  Oracle VM  Oracle Exadata/Exalogic  Oracle SPARC  Oracle Storage Products
  • 8. Slide 8 of 98 © Raastech, Inc. 2012 | All rights reserved. Oracle Fusion Middleware  Oracle Fusion Middleware
  • 9. Slide 9 of 98 © Raastech, Inc. 2012 | All rights reserved.  Oracle SOA Suite  Oracle Service Bus (OSB)  Oracle Data Integrator (ODI)  Oracle Web Services Manager (OWSM)  Oracle Application Integration Architecture (AIA)  Oracle Business Activity Monitoring (BAM)  Oracle GoldenGate  Oracle Enterprise Repository (OER)  Oracle Enterprise Gateway (OEG)  Oracle Service Registry (OSR)  Oracle B2B Integration Oracle Integration Products
  • 10. Slide 10 of 98 © Raastech, Inc. 2012 | All rights reserved.  Oracle SOA Suite  Oracle Service Bus (OSB)  Oracle Data Integrator (ODI)  Oracle Web Services Manager (OWSM)  Oracle Application Integration Architecture (AIA)  Oracle Business Activity Monitoring (BAM)  Oracle GoldenGate  Oracle Enterprise Repository (OER)  Oracle Enterprise Gateway (OEG)  Oracle Service Registry (OSR)  Oracle B2B Integration Oracle Integration Products
  • 11. Slide 11 of 98 © Raastech, Inc. 2012 | All rights reserved.  Transforms complex architectures into agile integration networks by connecting, mediating, and managing interactions between services and applications  Delivers low-cost, standards-based integration for mission critical SOA environments where extreme performance and scalability are requirements
  • 12. Slide 12 of 98 © Raastech, Inc. 2012 | All rights reserved.  A comprehensive and easy-to-use solution for policy management and security of service infrastructure  Provides visibility and control of the policies through a centralized administration interface offered by Oracle Enterprise Manager
  • 13. Slide 13 of 98 © Raastech, Inc. 2012 | All rights reserved.  A comprehensive, hot-pluggable software suite to build, deploy and manage Service-Oriented Architectures (SOA)  Unified application development tooling and end-to-end lifecycle management
  • 14. Slide 14 of 98 © Raastech, Inc. 2012 | All rights reserved.  Gives business executives the ability to monitor their business services and processes in the enterprise  Correlate KPIs down to the actual business process themselves  Allows the ability to change business processes quickly or to take corrective action if the business environment changes
  • 15. Slide 15 of 98 © Raastech, Inc. 2012 | All rights reserved. OUR “INTEGRATION” USE CASE
  • 16. Slide 16 of 98 © Raastech, Inc. 2012 | All rights reserved. High Level Flow of Use Case Web Application OSB Proxy Service Mobile Application SOA Suite Composite Database Table 1 & Table 2 BAM Reports OWSM Policy
  • 17. Slide 17 of 98 © Raastech, Inc. 2012 | All rights reserved.  Consider using OSB as your entry (and/or exit) points  OSB is lightweight, and easily supports throttling and caching  OSB proxy services are usually exposed as web services Why OSB? Web Application OSB Proxy Service Mobile Application OSB Proxy Service OSB Proxy Service OSB Proxy Service
  • 18. Slide 18 of 98 © Raastech, Inc. 2012 | All rights reserved. <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <wsse:Security soap:mustUnderstand="1"> <wsse:UsernameToken> <wsse:Username>myusername</wsse:Username> <wsse:Password>mypassword</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soap:Header>  Install the Oracle Service Bus OWSM Extension to provide support for WS-Security  Attach the policy “oracle/wss_username_token_service_policy”  Client must supply username and password in the SOAP header Why OWSM? OSB Proxy Service OWSM Policy
  • 19. Slide 19 of 98 © Raastech, Inc. 2012 | All rights reserved.  Incoming payload includes:  Item Number  Quantity  Dollar Amount  Type Flag (‘M’ for mobile, ‘W’ for web)  Use BPEL for complicated flows and/or orchestration (e.g., calculate tax)  Use Mediator to route to the correct table based on the flag in the payload Why SOA Suite? SOA Suite Composite BPEL (calculate tax) Mediator (route)
  • 20. Slide 20 of 98 © Raastech, Inc. 2012 | All rights reserved.  BAM is essentially a reporting tool  Designed to capture in-flight transactions and report on them in real-time  Does not impact performance of integration flow  In our use case, publish total dollar amounts of web orders to BAM for management reporting Why BAM? SOA Suite Composite BAM Reports
  • 21. Slide 21 of 98 © Raastech, Inc. 2012 | All rights reserved. Bringing it all together… Web Application OSB Proxy Service Mobile Application SOA Suite Composite Database Table 1 & Table 2 BAM Reports OWSM Policy The Oracle Integration Layer
  • 22. Slide 22 of 98 © Raastech, Inc. 2012 | All rights reserved. IMPLEMENTING THE SOLUTION
  • 23. Slide 23 of 98 © Raastech, Inc. 2012 | All rights reserved.  Create the Order.xsd schema file  An XML schema describes the structure of an XML message Create XML Schema <?xml version="1.0" encoding="ISO-8859-1" ?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="Order"> <xs:complexType> <xs:sequence> <xs:element name="OrderType" type="xs:string"/> <xs:element name="ItemNumber" type="xs:string"/> <xs:element name="Quantity" type="xs:positiveInteger"/> <xs:element name="Price" type="xs:decimal"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema>
  • 24. Slide 24 of 98 © Raastech, Inc. 2012 | All rights reserved. Web Application OSB Proxy Service Mobile Application SOA Suite Composite Database Table 1 & Table 2 BAM Reports OWSM Policy
  • 25. Slide 25 of 98 © Raastech, Inc. 2012 | All rights reserved.  These tables represent the backend for our order system Create the backend database tables CREATE TABLE web_orders ( item_number VARCHAR2(10), quantity NUMBER, dollar_amount NUMBER(7,2) ); CREATE TABLE mobile_orders ( item_number VARCHAR2(10), quantity NUMBER, dollar_amount NUMBER(7,2) );
  • 26. Slide 26 of 98 © Raastech, Inc. 2012 | All rights reserved. Web Application OSB Proxy Service Mobile Application SOA Suite Composite Database Table 1 & Table 2 BAM Reports OWSM Policy
  • 27. Slide 27 of 98 © Raastech, Inc. 2012 | All rights reserved.  BAM Data Objects are essentially tables  Used to store data that is published to BAM Create the BAM Data Objects
  • 28. Slide 28 of 98 © Raastech, Inc. 2012 | All rights reserved.  BAM Data Objects are essentially tables  Used to store data that is published to BAM Create the BAM Data Objects
  • 29. Slide 29 of 98 © Raastech, Inc. 2012 | All rights reserved. Create the BAM Data Objects
  • 30. Slide 30 of 98 © Raastech, Inc. 2012 | All rights reserved. Web Application OSB Proxy Service Mobile Application SOA Suite Composite Database Table 1 & Table 2 BAM Reports OWSM Policy
  • 31. Slide 31 of 98 © Raastech, Inc. 2012 | All rights reserved. BAM Data Object SOA Suite Composite BPEL (calculate tax) Mediator (route) WebOrders Table MobileOrders Table Price x 1.05 OrderType = ‘W’ OrderType = ‘M’
  • 32. Slide 32 of 98 © Raastech, Inc. 2012 | All rights reserved.  A SOA composite application can consist of multiple components, such as:  BPEL component  Mediator component  Database Adapters  BAM Adapter  Open up JDeveloper 11g  Create a new SOA project Create SOA composite
  • 33. Slide 33 of 98 © Raastech, Inc. 2012 | All rights reserved. Create a SOA project
  • 34. Slide 34 of 98 © Raastech, Inc. 2012 | All rights reserved. Create a SOA project
  • 35. Slide 35 of 98 © Raastech, Inc. 2012 | All rights reserved.  Adapters are used for easily referencing technologies such as databases, file systems, FTP servers, JMS, and so forth  The Database Adapter hides the underlying implementation of the connectivity of the database, so that the SOA developer can focus on building integrations  Simply drag the Database Adapter to the external references pane Create Database Adapters for each table
  • 36. Slide 36 of 98 © Raastech, Inc. 2012 | All rights reserved. Drag Database Adapter to pane
  • 37. Slide 37 of 98 © Raastech, Inc. 2012 | All rights reserved. Use Database Adapter configuration wizard  Provide a name for the reference
  • 38. Slide 38 of 98 © Raastech, Inc. 2012 | All rights reserved. Choose a database to connect to
  • 39. Slide 39 of 98 © Raastech, Inc. 2012 | All rights reserved. Select table and columns  Select the table name and columns from the database
  • 40. Slide 40 of 98 © Raastech, Inc. 2012 | All rights reserved. Select type of operation on this table
  • 41. Slide 41 of 98 © Raastech, Inc. 2012 | All rights reserved. Database Adapters created in JDeveloper
  • 42. Slide 42 of 98 © Raastech, Inc. 2012 | All rights reserved.  Create a Mediator component  Mediator’s strengths are in transformation and routing  Route to the Database Adapters that we just created… …based on a filter on the ‘OrderType’ flag Create SOA Mediator component
  • 43. Slide 43 of 98 © Raastech, Inc. 2012 | All rights reserved. Create SOA Mediator component  Create a name for the Mediator component
  • 44. Slide 44 of 98 © Raastech, Inc. 2012 | All rights reserved. Create SOA Mediator component  Use the XSD we created earlier as our message input
  • 45. Slide 45 of 98 © Raastech, Inc. 2012 | All rights reserved. Create a WSDL for the Mediator component
  • 46. Slide 46 of 98 © Raastech, Inc. 2012 | All rights reserved. Create a routing rule
  • 47. Slide 47 of 98 © Raastech, Inc. 2012 | All rights reserved. Select the Database Adapter  Select the Database Adapter we had created earlier
  • 48. Slide 48 of 98 © Raastech, Inc. 2012 | All rights reserved. Create a filter expression
  • 49. Slide 49 of 98 © Raastech, Inc. 2012 | All rights reserved. Create a filter expression
  • 50. Slide 50 of 98 © Raastech, Inc. 2012 | All rights reserved. Create a transformation
  • 51. Slide 51 of 98 © Raastech, Inc. 2012 | All rights reserved. Map the XML to the Database Adapter object
  • 52. Slide 52 of 98 © Raastech, Inc. 2012 | All rights reserved. How the composite looks like so far
  • 53. Slide 53 of 98 © Raastech, Inc. 2012 | All rights reserved.  BPEL is used for orchestration or complicated logic  Simply drag the “BPEL Process” to the composite pane Create SOA BPEL component
  • 54. Slide 54 of 98 © Raastech, Inc. 2012 | All rights reserved. Create SOA BPEL component
  • 55. Slide 55 of 98 © Raastech, Inc. 2012 | All rights reserved. Link the BPEL to the Mediator
  • 56. Slide 56 of 98 © Raastech, Inc. 2012 | All rights reserved. Create an ‘Assign’ activity
  • 57. Slide 57 of 98 © Raastech, Inc. 2012 | All rights reserved. Multiply the price
  • 58. Slide 58 of 98 © Raastech, Inc. 2012 | All rights reserved. Multiply the price
  • 59. Slide 59 of 98 © Raastech, Inc. 2012 | All rights reserved. Map rest of BPEL elements to Mediator object
  • 60. Slide 60 of 98 © Raastech, Inc. 2012 | All rights reserved. Create an ‘Assign’ activity for the response
  • 61. Slide 61 of 98 © Raastech, Inc. 2012 | All rights reserved. Create an ‘Assign’ activity for the response
  • 62. Slide 62 of 98 © Raastech, Inc. 2012 | All rights reserved.  Similar to the Database Adapter, drag the BAM Adapter  Will query the BAM server and list all available data objects Create BAM Adapter
  • 63. Slide 63 of 98 © Raastech, Inc. 2012 | All rights reserved. Create BAM Adapter
  • 64. Slide 64 of 98 © Raastech, Inc. 2012 | All rights reserved. Create BAM Adapter
  • 65. Slide 65 of 98 © Raastech, Inc. 2012 | All rights reserved. Map BPEL object to BAM object
  • 66. Slide 66 of 98 © Raastech, Inc. 2012 | All rights reserved. How the final SOA composite looks like
  • 67. Slide 67 of 98 © Raastech, Inc. 2012 | All rights reserved. Deploy SOA composite  Right-click on the composite name to deploy to SOA server  URL becomes: http://soadev:8001/soa-infra/services/default/ProcessOrder/calculatetax_client_ep?WSDL
  • 68. Slide 68 of 98 © Raastech, Inc. 2012 | All rights reserved. Web Application OSB Proxy Service Mobile Application SOA Suite Composite Database Table 1 & Table 2 BAM Reports OWSM Policy
  • 69. Slide 69 of 98 © Raastech, Inc. 2012 | All rights reserved. OWSM Policy OSB Project Proxy Service Business Service http://soadev:8001/soa-infra/...http://soadev:7001/ProcessOrderProxy/... SOA Composite
  • 70. Slide 70 of 98 © Raastech, Inc. 2012 | All rights reserved.  The OSB server is on a separate managed server  Import the WSDL of the SOA composite  Create a Business Service (the link to the SOA composite)  Create a Proxy Service (the exposed interface)  Secure the Proxy Service with an OWSM Policy Create OSB project
  • 71. Slide 71 of 98 © Raastech, Inc. 2012 | All rights reserved. Create OSB project
  • 72. Slide 72 of 98 © Raastech, Inc. 2012 | All rights reserved. Import the SOA composite WSDL
  • 73. Slide 73 of 98 © Raastech, Inc. 2012 | All rights reserved. Import the SOA composite WSDL
  • 74. Slide 74 of 98 © Raastech, Inc. 2012 | All rights reserved. Create OSB Business Service
  • 75. Slide 75 of 98 © Raastech, Inc. 2012 | All rights reserved. Create OSB Business Service
  • 76. Slide 76 of 98 © Raastech, Inc. 2012 | All rights reserved. Create OSB Proxy Service
  • 77. Slide 77 of 98 © Raastech, Inc. 2012 | All rights reserved. Create OSB Proxy Service
  • 78. Slide 78 of 98 © Raastech, Inc. 2012 | All rights reserved. Web Application OSB Proxy Service Mobile Application SOA Suite Composite Database Table 1 & Table 2 BAM Reports OWSM Policy
  • 79. Slide 79 of 98 © Raastech, Inc. 2012 | All rights reserved. Click on Proxy Service
  • 80. Slide 80 of 98 © Raastech, Inc. 2012 | All rights reserved. Attach OWSM Policy to OSB Proxy Service
  • 81. Slide 81 of 98 © Raastech, Inc. 2012 | All rights reserved. To identify exposed URL
  • 82. Slide 82 of 98 © Raastech, Inc. 2012 | All rights reserved.  The exposed WSDL for the OSB Proxy Service: http://soadev:7001/ProcessOrderProxy/ProcessOrderPS?wsdl  This is the WSDL that the web/client applications will invoke Final OSB exposed WSDL
  • 83. Slide 83 of 98 © Raastech, Inc. 2012 | All rights reserved. Web Application OSB Proxy Service Mobile Application SOA Suite Composite Database Table 1 & Table 2 BAM Reports OWSM Policy
  • 84. Slide 84 of 98 © Raastech, Inc. 2012 | All rights reserved.  Use soapUI to test the WSDL Test with soapUI
  • 85. Slide 85 of 98 © Raastech, Inc. 2012 | All rights reserved. Observe authentication failure  Seems to be some security error  Valid error… no username/password provided in payload!
  • 86. Slide 86 of 98 © Raastech, Inc. 2012 | All rights reserved. Test with security token in SOAP header  With authentication info in header, we get our ‘Done’ response
  • 87. Slide 87 of 98 © Raastech, Inc. 2012 | All rights reserved. Observe instance in EM Console
  • 88. Slide 88 of 98 © Raastech, Inc. 2012 | All rights reserved.  Clicking on the instance ID shows a successful flow  Data only inserted to the ‘WebOrders’ table as expected View instance flow
  • 89. Slide 89 of 98 © Raastech, Inc. 2012 | All rights reserved. View Mediator instance details
  • 90. Slide 90 of 98 © Raastech, Inc. 2012 | All rights reserved.  Querying the database table confirms this Confirm data in database
  • 91. Slide 91 of 98 © Raastech, Inc. 2012 | All rights reserved.  Data also published to BAM!  Can now create a report to query this Data Object Confirm data in BAM Data Object
  • 92. Slide 92 of 98 © Raastech, Inc. 2012 | All rights reserved. SUMMARY
  • 93. Slide 93 of 98 © Raastech, Inc. 2012 | All rights reserved. 1. Create an XML Schema 2. Create the database tables 3. Create the BAM Data Object Summary
  • 94. Slide 94 of 98 © Raastech, Inc. 2012 | All rights reserved. 4. Create the SOA composite with JDeveloper a. Open up JDeveloper 11g b. Create a SOA project c. Create 2 Database Adapter services d. Create a Mediator component i. Create a web service interface using the XSD file ii. Create 2 routing rules to the 2 database services iii. Use a filter expression on the 'OrderType' element e. Create a BPEL component i. Link the BPEL component with the Mediator component ii. Map the input of the BPEL to the input of the Mediator iii. But multiple the price by 1.05 iv. Create a BAM Adapter to the BAM Data Object v. Map the input of the BPEL to the BAM Adapter Summary
  • 95. Slide 95 of 98 © Raastech, Inc. 2012 | All rights reserved. 5. Deploy the SOA composite a. Get the WSDL of the SOA composite 6. Create an OSB project a. Create a Business Service using this SOA WSDL b. Create a Proxy Service as the OSB interface c. Secure the Proxy Service with an OWSM Policy 7. Test using soapUI Summary
  • 96. Slide 96 of 98 © Raastech, Inc. 2012 | All rights reserved.  Understand where each product should be aligned  There is some overlap between products  There is no one-size fits all architecture  Understand the difference between and usage of OSB, OWSM, BAM, and SOA Suite  Observe first hand a walkthrough demo:  OSB used as a passthrough, but has other benefits not demo’ed here  OWSM provides a mechanism to attach security policies to a service  BPEL used for orchestration  Mediator used for routing Take Aways
  • 97. Slide 97 of 98 © Raastech, Inc. 2012 | All rights reserved.  All these products are provided as part of a single Oracle SOA Suite license, so take advantage of them!  You can use any combination of OSB, BPEL, or Mediator depending on your needs Final Thoughts
  • 98. Slide 98 of 98 © Raastech, Inc. 2012 | All rights reserved. Contact Information Cristian Durca Technical Architect cristian.durca@raastech.com Ahmed Aboulnaga Technical Director ahmed.aboulnaga@raastech.com