SlideShare a Scribd company logo
Raastech, Inc.
2201 Cooperative Way, Suite 600
Herndon, VA 20171
+1-703-884-2223
info@raastech.com
Oracle SOA Development
Hands-On from Start to Finish
Wednesday, November 18,2015
2:20 - 3:15 pm
VT425
© Raastech, Inc. 2015 | All rights reserved. Slide 2 of 102@Raastech
Agenda
1. Understanding Oracle Integration Products
2. Our “Integration” Use Case
3. Implementing the Solution
4. Summary
© Raastech, Inc. 2015 | All rights reserved. Slide 3 of 102@Raastech
© Raastech, Inc. 2015 | All rights reserved. Slide 4 of 102@Raastech
About Me
 Ahmed Aboulnaga @Ahmed_Aboulnaga
 18+ years Oracle experience
 Author of “Oracle SOA Suite 11g Administrator’s Handbook”
 Author of “Oracle SOA Suite 12c Administrator’s Guide”
 OCE (SOA Foundation Practitioner)
 Oracle ACE
© Raastech, Inc. 2015 | All rights reserved. Slide 5 of 102@Raastech
About Raastech
 Small systems integrator founded in 2009
 Headquartered in the Washington DC area
 Specializes in Oracle Fusion Middleware
 Oracle Platinum Partner 1 in 3,000 worldwide
 Oracle SOA Specialized 1 in 1,500 worldwide
 Oracle ACEs 2 in 500 worldwide
© Raastech, Inc. 2015 | All rights reserved. Slide 6 of 102@Raastech
© Raastech, Inc. 2015 | All rights reserved. Slide 7 of 102@Raastech
Oracle Fusion Middleware
© Raastech, Inc. 2015 | All rights reserved. Slide 8 of 102@Raastech
 Oracle Fusion Apps
 Oracle E-Business Suite
 Oracle JD Edwards
 Oracle PeopleSoft
 Oracle Siebel
 Oracle Retail
 More…
Oracle Fusion Middleware
© Raastech, Inc. 2015 | All rights reserved. Slide 9 of 102@Raastech
 Oracle Database
 Oracle MySQL
Oracle Fusion Middleware
© Raastech, Inc. 2015 | All rights reserved. Slide 10 of 102@Raastech
 Oracle Linux
 Oracle Solaris
 Oracle VM
 Oracle Exadata/Exalogic
 Oracle SPARC
 Oracle Storage Products
Oracle Fusion Middleware
© Raastech, Inc. 2015 | All rights reserved. Slide 11 of 102@Raastech
 Oracle Fusion Middleware
Oracle Fusion Middleware
© Raastech, Inc. 2015 | All rights reserved. Slide 12 of 102@Raastech
Oracle Integration Products
 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 API Gateway (OAG)
 Oracle Service Registry (OSR)
 Oracle B2B Integration
© Raastech, Inc. 2015 | All rights reserved. Slide 13 of 102@Raastech
Oracle Integration Products
 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
© Raastech, Inc. 2015 | All rights reserved. Slide 14 of 102@Raastech
 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
© Raastech, Inc. 2015 | All rights reserved. Slide 15 of 102@Raastech
 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
© Raastech, Inc. 2015 | All rights reserved. Slide 16 of 102@Raastech
 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
© Raastech, Inc. 2015 | All rights reserved. Slide 17 of 102@Raastech
 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
© Raastech, Inc. 2015 | All rights reserved. Slide 18 of 102@Raastech
© Raastech, Inc. 2015 | All rights reserved. Slide 19 of 102@Raastech
Web
Application
OSB Proxy
Service
Mobile
Application
SOA Suite
Composite
Database
Table 1
&
Table 2
BAM Reports
OWSM Policy
High-Level Flow of Use Case
© Raastech, Inc. 2015 | All rights reserved. Slide 20 of 102@Raastech
Web
Application
OSB Proxy
Service
Mobile
Application
OSB Proxy
Service
OSB Proxy
Service
OSB Proxy
Service
Why OSB?
 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
© Raastech, Inc. 2015 | All rights reserved. Slide 21 of 102@Raastech
<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> OSB Proxy
Service
OWSM Policy
Why OWSM?
 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
© Raastech, Inc. 2015 | All rights reserved. Slide 22 of 102@Raastech
SOA Suite Composite
BPEL
(calculate tax)
Mediator
(route)
Why SOA Suite?
 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
© Raastech, Inc. 2015 | All rights reserved. Slide 23 of 102@Raastech
SOA Suite
Composite
BAM Reports
Why BAM?
 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
© Raastech, Inc. 2015 | All rights reserved. Slide 24 of 102@Raastech
Web
Application
OSB Proxy
Service
Mobile
Application
SOA Suite
Composite
Database
Table 1
&
Table 2
BAM Reports
OWSM Policy
The Oracle Integration Layer
Bringing it all together…
© Raastech, Inc. 2015 | All rights reserved. Slide 25 of 102@Raastech
© Raastech, Inc. 2015 | All rights reserved. Slide 26 of 102@Raastech
<?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>
Create XML Schema
 Create the Order.xsd schema file
 An XML schema describes the structure of an XML message
© Raastech, Inc. 2015 | All rights reserved. Slide 27 of 102@Raastech
Web
Application
OSB Proxy
Service
Mobile
Application
SOA Suite
Composite
Database
Table 1
&
Table 2
BAM Reports
OWSM Policy
© Raastech, Inc. 2015 | All rights reserved. Slide 28 of 102@Raastech
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)
);
Create the backend database tables
 These tables represent the backend for our order system
© Raastech, Inc. 2015 | All rights reserved. Slide 29 of 102@Raastech
Web
Application
OSB Proxy
Service
Mobile
Application
SOA Suite
Composite
Database
Table 1
&
Table 2
BAM Reports
OWSM Policy
© Raastech, Inc. 2015 | All rights reserved. Slide 30 of 102@Raastech
Create the BAM Data Objects
 BAM Data Objects are essentially tables
 Used to store data that is published to BAM
© Raastech, Inc. 2015 | All rights reserved. Slide 31 of 102@Raastech
 BAM Data Objects are essentially tables
 Used to store data that is published to BAM
Create the BAM Data Objects
© Raastech, Inc. 2015 | All rights reserved. Slide 32 of 102@Raastech
Create the BAM Data Objects
© Raastech, Inc. 2015 | All rights reserved. Slide 33 of 102@Raastech
Web
Application
OSB Proxy
Service
Mobile
Application
SOA Suite
Composite
Database
Table 1
&
Table 2
BAM Reports
OWSM Policy
© Raastech, Inc. 2015 | All rights reserved. Slide 34 of 102@Raastech
BAM
Data Object
SOA Suite Composite
BPEL
(calculate tax)
Mediator
(route)
WebOrders Table
MobileOrders Table
Price x 1.05
OrderType = ‘W’
OrderType = ‘M’
© Raastech, Inc. 2015 | All rights reserved. Slide 35 of 102@Raastech
Create SOA composite
 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
© Raastech, Inc. 2015 | All rights reserved. Slide 36 of 102@Raastech
Create a SOA project
© Raastech, Inc. 2015 | All rights reserved. Slide 37 of 102@Raastech
Create a SOA project
© Raastech, Inc. 2015 | All rights reserved. Slide 38 of 102@Raastech
Create Database Adapters for each table
 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
© Raastech, Inc. 2015 | All rights reserved. Slide 39 of 102@Raastech
Drag Database Adapter to pane
© Raastech, Inc. 2015 | All rights reserved. Slide 40 of 102@Raastech
 Provide a name for the reference
Use Database Adapter configuration wizard
© Raastech, Inc. 2015 | All rights reserved. Slide 41 of 102@Raastech
Choose a database to connect to
© Raastech, Inc. 2015 | All rights reserved. Slide 42 of 102@Raastech
 Select the table name and columns from the database
Select table and columns
© Raastech, Inc. 2015 | All rights reserved. Slide 43 of 102@Raastech
Select type of operation on this table
© Raastech, Inc. 2015 | All rights reserved. Slide 44 of 102@Raastech
Database Adapters created in JDeveloper
© Raastech, Inc. 2015 | All rights reserved. Slide 45 of 102@Raastech
Create SOA Mediator component
 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
© Raastech, Inc. 2015 | All rights reserved. Slide 46 of 102@Raastech
 Create a name for the Mediator component
Create SOA Mediator component
© Raastech, Inc. 2015 | All rights reserved. Slide 47 of 102@Raastech
 Use the XSD we created earlier as our message input
Create SOA Mediator component
© Raastech, Inc. 2015 | All rights reserved. Slide 48 of 102@Raastech
Create a WSDL for the Mediator component
© Raastech, Inc. 2015 | All rights reserved. Slide 49 of 102@Raastech
Create a routing rule
© Raastech, Inc. 2015 | All rights reserved. Slide 50 of 102@Raastech
 Select the Database Adapter we had created earlier
Select the Database Adapter
© Raastech, Inc. 2015 | All rights reserved. Slide 51 of 102@Raastech
Create a filter expression
© Raastech, Inc. 2015 | All rights reserved. Slide 52 of 102@Raastech
Create a filter expression
© Raastech, Inc. 2015 | All rights reserved. Slide 53 of 102@Raastech
Create a transformation
© Raastech, Inc. 2015 | All rights reserved. Slide 54 of 102@Raastech
Map the XML to the Database Adapter object
© Raastech, Inc. 2015 | All rights reserved. Slide 55 of 102@Raastech
How the composite looks like so far
© Raastech, Inc. 2015 | All rights reserved. Slide 56 of 102@Raastech
 BPEL is used for orchestration or complicated logic
 Simply drag the “BPEL Process” to the composite pane
Create SOA BPEL component
© Raastech, Inc. 2015 | All rights reserved. Slide 57 of 102@Raastech
Create SOA BPEL component
© Raastech, Inc. 2015 | All rights reserved. Slide 58 of 102@Raastech
Link the BPEL to the Mediator
© Raastech, Inc. 2015 | All rights reserved. Slide 59 of 102@Raastech
Create an ‘Assign’ activity
© Raastech, Inc. 2015 | All rights reserved. Slide 60 of 102@Raastech
Multiple the price
© Raastech, Inc. 2015 | All rights reserved. Slide 61 of 102@Raastech
Multiply the price
© Raastech, Inc. 2015 | All rights reserved. Slide 62 of 102@Raastech
Map rest of BPEL elements to Mediator object
© Raastech, Inc. 2015 | All rights reserved. Slide 63 of 102@Raastech
Create an ‘Assign’ activity for the response
© Raastech, Inc. 2015 | All rights reserved. Slide 64 of 102@Raastech
Create an ‘Assign’ activity for the response
© Raastech, Inc. 2015 | All rights reserved. Slide 65 of 102@Raastech
Create BAM Adapter
 Similar to the Database Adapter, drag the BAM Adapter
 Will query the BAM server and list all available data objects
© Raastech, Inc. 2015 | All rights reserved. Slide 66 of 102@Raastech
Create BAM Adapter
© Raastech, Inc. 2015 | All rights reserved. Slide 67 of 102@Raastech
Create BAM Adapter
© Raastech, Inc. 2015 | All rights reserved. Slide 68 of 102@Raastech
Map BPEL object to BAM object
© Raastech, Inc. 2015 | All rights reserved. Slide 69 of 102@Raastech
How the final SOA composite looks like
© Raastech, Inc. 2015 | All rights reserved. Slide 70 of 102@Raastech
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
© Raastech, Inc. 2015 | All rights reserved. Slide 71 of 102@Raastech
Web
Application
OSB Proxy
Service
Mobile
Application
SOA Suite
Composite
Database
Table 1
&
Table 2
BAM Reports
OWSM Policy
© Raastech, Inc. 2015 | All rights reserved. Slide 72 of 102@Raastech
OWSM
Policy
OSB Project
Proxy
Service
Business
Service
http://soadev:8001/soa-infra/...http://soadev:7001/ProcessOrderProxy/...
SOA
Composite
© Raastech, Inc. 2015 | All rights reserved. Slide 73 of 102@Raastech
Create OSB project
 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
© Raastech, Inc. 2015 | All rights reserved. Slide 74 of 102@Raastech
Create OSB project
© Raastech, Inc. 2015 | All rights reserved. Slide 75 of 102@Raastech
Import the SOA composite WSDL
© Raastech, Inc. 2015 | All rights reserved. Slide 76 of 102@Raastech
Import the SOA composite WSDL
© Raastech, Inc. 2015 | All rights reserved. Slide 77 of 102@Raastech
Create OSB Business Service
© Raastech, Inc. 2015 | All rights reserved. Slide 78 of 102@Raastech
Create OSB Business Service
© Raastech, Inc. 2015 | All rights reserved. Slide 79 of 102@Raastech
Create OSB Proxy Service
© Raastech, Inc. 2015 | All rights reserved. Slide 80 of 102@Raastech
Create OSB Proxy Service
© Raastech, Inc. 2015 | All rights reserved. Slide 81 of 102@Raastech
Web
Application
OSB Proxy
Service
Mobile
Application
SOA Suite
Composite
Database
Table 1
&
Table 2
BAM Reports
OWSM Policy
© Raastech, Inc. 2015 | All rights reserved. Slide 82 of 102@Raastech
Click on Proxy Service
© Raastech, Inc. 2015 | All rights reserved. Slide 83 of 102@Raastech
Attach OWSM Policy to OSB Proxy Service
© Raastech, Inc. 2015 | All rights reserved. Slide 84 of 102@Raastech
…to identify exposed URL
© Raastech, Inc. 2015 | All rights reserved. Slide 85 of 102@Raastech
Final OSB exposed WSDL
 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
© Raastech, Inc. 2015 | All rights reserved. Slide 86 of 102@Raastech
Web
Application
OSB Proxy
Service
Mobile
Application
SOA Suite
Composite
Database
Table 1
&
Table 2
BAM Reports
OWSM Policy
© Raastech, Inc. 2015 | All rights reserved. Slide 87 of 102@Raastech
Test with soapUI
 Use soapUI to test the WSDL
© Raastech, Inc. 2015 | All rights reserved. Slide 88 of 102@Raastech
Observe authentication failure
 Seems to be some security error
 Valid error… no username/password provided in payload!
© Raastech, Inc. 2015 | All rights reserved. Slide 89 of 102@Raastech
Test with security token in SOAP header
 With authentication info in header, we get our ‘Done’ response
© Raastech, Inc. 2015 | All rights reserved. Slide 90 of 102@Raastech
Observe instance in EM Console
© Raastech, Inc. 2015 | All rights reserved. Slide 91 of 102@Raastech
View instance flow
 Clicking on the instance ID shows a successful flow
 Data only inserted to the ‘WebOrders’ table as expected
© Raastech, Inc. 2015 | All rights reserved. Slide 92 of 102@Raastech
View Mediator instance details
© Raastech, Inc. 2015 | All rights reserved. Slide 93 of 102@Raastech
Confirm data in database
 Querying the database table confirms this
© Raastech, Inc. 2015 | All rights reserved. Slide 94 of 102@Raastech
Confirm data in BAM Data Object
 Data also published to BAM!
 Can now create a report to query this Data Object
© Raastech, Inc. 2015 | All rights reserved. Slide 95 of 102@Raastech
© Raastech, Inc. 2015 | All rights reserved. Slide 96 of 102@Raastech
Summary
1. Create an XML Schema
2. Create the database tables
3. Create the BAM Data Object
© Raastech, Inc. 2015 | All rights reserved. Slide 97 of 102@Raastech
Summary
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
© Raastech, Inc. 2015 | All rights reserved. Slide 98 of 102@Raastech
Summary
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
© Raastech, Inc. 2015 | All rights reserved. Slide 99 of 102@Raastech
Take Aways
 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
© Raastech, Inc. 2015 | All rights reserved. Slide 100 of 102@Raastech
Final Thoughts
 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
© Raastech, Inc. 2015 | All rights reserved. Slide 101 of 102@Raastech
Contact Information
 Ahmed Aboulnaga
 Technical Director
 @Ahmed_Aboulnaga
 ahmed.aboulnaga@raastech.com
© Raastech, Inc. 2015 | All rights reserved. Slide 102 of 102@Raastech
Q&A

More Related Content

PDF
Deploying to Oracle SOA Suite 12c - Everything You Need To Know
PDF
Hands-On with Oracle SOA
PDF
An Unbiased Look: Oracle SOA Suite 12c
PDF
Best Practices for Building an Enterprise SOA Infrastructure on Oracle SOA Suite
PDF
What Every Client Should Do on Their Oracle SOA Projects
PPTX
Learn Oracle WebLogic Server 12c Administration
PDF
Developing Oracle Fusion Middleware Applications in the Cloud
PDF
OOW16 - Oracle Enterprise Manager 13c Cloud Control for Managing Oracle E-Bus...
Deploying to Oracle SOA Suite 12c - Everything You Need To Know
Hands-On with Oracle SOA
An Unbiased Look: Oracle SOA Suite 12c
Best Practices for Building an Enterprise SOA Infrastructure on Oracle SOA Suite
What Every Client Should Do on Their Oracle SOA Projects
Learn Oracle WebLogic Server 12c Administration
Developing Oracle Fusion Middleware Applications in the Cloud
OOW16 - Oracle Enterprise Manager 13c Cloud Control for Managing Oracle E-Bus...

What's hot (20)

PPTX
AMIS 25: Moving Integration to the Cloud
PDF
What Every Client Should Do On Their Oracle SOA Projects (whitepaper)
PDF
Upgrading to Oracle SOA 12.1 & 12.2 - Practical Steps and Project Experiences
PDF
OOW15 - Installation, Cloning, and Configuration of Oracle E-Business Suite 12.2
PDF
Solaris 11.2 What's New
PDF
Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...
PDF
OOW16 - Planning Your Upgrade to Oracle E-Business Suite 12.2 [CON1423]
PDF
How Capgemini Built a Pan-European Tax Messaging System Using Oracle Fusion M...
PDF
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
PDF
Oracle my sql cluster cge
PDF
OOW16 - Oracle E-Business Suite: What’s New in Release 12.2 Beyond Online Pat...
PDF
Oracle Database Cloud Service - Provisioning Your First DBaaS Instance
PDF
Oracle SOA Suite 11g Troubleshooting Methodology
PDF
MySQL Manchester TT - Replication Features
PPT
MySQL Tech Tour 2015 - 5.7 Connector/J/Net
PDF
MySQL Tech Tour 2015 - Alt Intro
PDF
OOW16 - Getting Optimal Performance from Oracle E-Business Suite [CON6711]
PDF
OOW15 - Oracle E-Business Suite Integration Best Practices
PDF
Ten Real-World Customer Configurations on Oracle Database Appliance
PPTX
Systems on the Edge—Your Stepping Stones into Oracle Public Cloud and the Paa...
AMIS 25: Moving Integration to the Cloud
What Every Client Should Do On Their Oracle SOA Projects (whitepaper)
Upgrading to Oracle SOA 12.1 & 12.2 - Practical Steps and Project Experiences
OOW15 - Installation, Cloning, and Configuration of Oracle E-Business Suite 12.2
Solaris 11.2 What's New
Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...
OOW16 - Planning Your Upgrade to Oracle E-Business Suite 12.2 [CON1423]
How Capgemini Built a Pan-European Tax Messaging System Using Oracle Fusion M...
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
Oracle my sql cluster cge
OOW16 - Oracle E-Business Suite: What’s New in Release 12.2 Beyond Online Pat...
Oracle Database Cloud Service - Provisioning Your First DBaaS Instance
Oracle SOA Suite 11g Troubleshooting Methodology
MySQL Manchester TT - Replication Features
MySQL Tech Tour 2015 - 5.7 Connector/J/Net
MySQL Tech Tour 2015 - Alt Intro
OOW16 - Getting Optimal Performance from Oracle E-Business Suite [CON6711]
OOW15 - Oracle E-Business Suite Integration Best Practices
Ten Real-World Customer Configurations on Oracle Database Appliance
Systems on the Edge—Your Stepping Stones into Oracle Public Cloud and the Paa...
Ad

Viewers also liked (9)

PDF
Oracle Service Bus and Oracle SOA Suite in the Mobile World
PPTX
Oracle SOA, AIA & Fusion Apps
PPTX
Where and when to use the Oracle Service Bus (OSB)
PDF
Implementing Applications with SOA and Application Integration Architecture
PPT
Oracle Service Bus vs. Oracle Enterprise Service Bus vs. BPEL
PDF
Getting Started with Security for your Oracle SOA Suite Integrations
PDF
Ebs soa con8716_pdf_8716_0001
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
Oracle SOA, AIA & Fusion Apps
Where and when to use the Oracle Service Bus (OSB)
Implementing Applications with SOA and Application Integration Architecture
Oracle Service Bus vs. Oracle Enterprise Service Bus vs. BPEL
Getting Started with Security for your Oracle SOA Suite Integrations
Ebs soa con8716_pdf_8716_0001
Primavera integration possibilities technical overview ppt
Oracle SOA Suite in use – a practical experience report
Ad

Similar to Oracle SOA Development - Hands-On from Start to Finish (20)

PDF
An Unbiased Look: Oracle SOA Suite 12c
PDF
Oracle WebLogic Server: Remote Monitoring and Management
PDF
Learn Oracle WebLogic Server 12c Administration
PDF
Understanding and Developing Web Services - For DBAs and Developers
PDF
Oracle Application Integration Architecture (AIA): Does It Deliver On It’s In...
PDF
Understanding and Developing Web Services: For DBAs and Database Developers
PDF
Oracle SOA Tips & Tricks
PDF
See Inside the Middleware Black Box
PDF
Data Integration for Big Data (OOW 2016, Co-Presented With Oracle)
PDF
Learn Oracle WebLogic Server 12c Administration
PDF
SOACS-Overview.pdf
PPTX
Gain Meaningful Insights to Production by Associating Multiple Data Sources
PDF
Oracle Compute Cloud Service vs. Amazon Web Services EC2 : A Hands-On Review
PPTX
AMIS Oracle OpenWorld & CodeOne Review - Pillar 2 - SaaS and Standard Applica...
PPTX
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: SaaS
PDF
Upgrading Oracle SOA Suite to 11g: A Real-World Success Story
PDF
Enabling: Optimized Integrations at Amway with Oracle SOA Suite
PPTX
Building a marketing data lake
PDF
Developing Web Services from Scratch - For DBAs and Database Developers
PPTX
Are you ready for the transformation
An Unbiased Look: Oracle SOA Suite 12c
Oracle WebLogic Server: Remote Monitoring and Management
Learn Oracle WebLogic Server 12c Administration
Understanding and Developing Web Services - For DBAs and Developers
Oracle Application Integration Architecture (AIA): Does It Deliver On It’s In...
Understanding and Developing Web Services: For DBAs and Database Developers
Oracle SOA Tips & Tricks
See Inside the Middleware Black Box
Data Integration for Big Data (OOW 2016, Co-Presented With Oracle)
Learn Oracle WebLogic Server 12c Administration
SOACS-Overview.pdf
Gain Meaningful Insights to Production by Associating Multiple Data Sources
Oracle Compute Cloud Service vs. Amazon Web Services EC2 : A Hands-On Review
AMIS Oracle OpenWorld & CodeOne Review - Pillar 2 - SaaS and Standard Applica...
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: SaaS
Upgrading Oracle SOA Suite to 11g: A Real-World Success Story
Enabling: Optimized Integrations at Amway with Oracle SOA Suite
Building a marketing data lake
Developing Web Services from Scratch - For DBAs and Database Developers
Are you ready for the transformation

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
Cloud Integration Strategy
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
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
Cloud Integration Strategy
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

Recently uploaded (20)

PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Approach and Philosophy of On baking technology
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Cloud computing and distributed systems.
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPT
Teaching material agriculture food technology
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
sap open course for s4hana steps from ECC to s4
Mobile App Security Testing_ A Comprehensive Guide.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Big Data Technologies - Introduction.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Dropbox Q2 2025 Financial Results & Investor Presentation
Approach and Philosophy of On baking technology
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
The Rise and Fall of 3GPP – Time for a Sabbatical?
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Cloud computing and distributed systems.
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Teaching material agriculture food technology
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
NewMind AI Weekly Chronicles - August'25 Week I
Agricultural_Statistics_at_a_Glance_2022_0.pdf
sap open course for s4hana steps from ECC to s4

Oracle SOA Development - Hands-On from Start to Finish

  • 1. Raastech, Inc. 2201 Cooperative Way, Suite 600 Herndon, VA 20171 +1-703-884-2223 info@raastech.com Oracle SOA Development Hands-On from Start to Finish Wednesday, November 18,2015 2:20 - 3:15 pm VT425
  • 2. © Raastech, Inc. 2015 | All rights reserved. Slide 2 of 102@Raastech Agenda 1. Understanding Oracle Integration Products 2. Our “Integration” Use Case 3. Implementing the Solution 4. Summary
  • 3. © Raastech, Inc. 2015 | All rights reserved. Slide 3 of 102@Raastech
  • 4. © Raastech, Inc. 2015 | All rights reserved. Slide 4 of 102@Raastech About Me  Ahmed Aboulnaga @Ahmed_Aboulnaga  18+ years Oracle experience  Author of “Oracle SOA Suite 11g Administrator’s Handbook”  Author of “Oracle SOA Suite 12c Administrator’s Guide”  OCE (SOA Foundation Practitioner)  Oracle ACE
  • 5. © Raastech, Inc. 2015 | All rights reserved. Slide 5 of 102@Raastech About Raastech  Small systems integrator founded in 2009  Headquartered in the Washington DC area  Specializes in Oracle Fusion Middleware  Oracle Platinum Partner 1 in 3,000 worldwide  Oracle SOA Specialized 1 in 1,500 worldwide  Oracle ACEs 2 in 500 worldwide
  • 6. © Raastech, Inc. 2015 | All rights reserved. Slide 6 of 102@Raastech
  • 7. © Raastech, Inc. 2015 | All rights reserved. Slide 7 of 102@Raastech Oracle Fusion Middleware
  • 8. © Raastech, Inc. 2015 | All rights reserved. Slide 8 of 102@Raastech  Oracle Fusion Apps  Oracle E-Business Suite  Oracle JD Edwards  Oracle PeopleSoft  Oracle Siebel  Oracle Retail  More… Oracle Fusion Middleware
  • 9. © Raastech, Inc. 2015 | All rights reserved. Slide 9 of 102@Raastech  Oracle Database  Oracle MySQL Oracle Fusion Middleware
  • 10. © Raastech, Inc. 2015 | All rights reserved. Slide 10 of 102@Raastech  Oracle Linux  Oracle Solaris  Oracle VM  Oracle Exadata/Exalogic  Oracle SPARC  Oracle Storage Products Oracle Fusion Middleware
  • 11. © Raastech, Inc. 2015 | All rights reserved. Slide 11 of 102@Raastech  Oracle Fusion Middleware Oracle Fusion Middleware
  • 12. © Raastech, Inc. 2015 | All rights reserved. Slide 12 of 102@Raastech Oracle Integration Products  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 API Gateway (OAG)  Oracle Service Registry (OSR)  Oracle B2B Integration
  • 13. © Raastech, Inc. 2015 | All rights reserved. Slide 13 of 102@Raastech Oracle Integration Products  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
  • 14. © Raastech, Inc. 2015 | All rights reserved. Slide 14 of 102@Raastech  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
  • 15. © Raastech, Inc. 2015 | All rights reserved. Slide 15 of 102@Raastech  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
  • 16. © Raastech, Inc. 2015 | All rights reserved. Slide 16 of 102@Raastech  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
  • 17. © Raastech, Inc. 2015 | All rights reserved. Slide 17 of 102@Raastech  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
  • 18. © Raastech, Inc. 2015 | All rights reserved. Slide 18 of 102@Raastech
  • 19. © Raastech, Inc. 2015 | All rights reserved. Slide 19 of 102@Raastech Web Application OSB Proxy Service Mobile Application SOA Suite Composite Database Table 1 & Table 2 BAM Reports OWSM Policy High-Level Flow of Use Case
  • 20. © Raastech, Inc. 2015 | All rights reserved. Slide 20 of 102@Raastech Web Application OSB Proxy Service Mobile Application OSB Proxy Service OSB Proxy Service OSB Proxy Service Why OSB?  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
  • 21. © Raastech, Inc. 2015 | All rights reserved. Slide 21 of 102@Raastech <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> OSB Proxy Service OWSM Policy Why OWSM?  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
  • 22. © Raastech, Inc. 2015 | All rights reserved. Slide 22 of 102@Raastech SOA Suite Composite BPEL (calculate tax) Mediator (route) Why SOA Suite?  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
  • 23. © Raastech, Inc. 2015 | All rights reserved. Slide 23 of 102@Raastech SOA Suite Composite BAM Reports Why BAM?  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
  • 24. © Raastech, Inc. 2015 | All rights reserved. Slide 24 of 102@Raastech Web Application OSB Proxy Service Mobile Application SOA Suite Composite Database Table 1 & Table 2 BAM Reports OWSM Policy The Oracle Integration Layer Bringing it all together…
  • 25. © Raastech, Inc. 2015 | All rights reserved. Slide 25 of 102@Raastech
  • 26. © Raastech, Inc. 2015 | All rights reserved. Slide 26 of 102@Raastech <?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> Create XML Schema  Create the Order.xsd schema file  An XML schema describes the structure of an XML message
  • 27. © Raastech, Inc. 2015 | All rights reserved. Slide 27 of 102@Raastech Web Application OSB Proxy Service Mobile Application SOA Suite Composite Database Table 1 & Table 2 BAM Reports OWSM Policy
  • 28. © Raastech, Inc. 2015 | All rights reserved. Slide 28 of 102@Raastech 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) ); Create the backend database tables  These tables represent the backend for our order system
  • 29. © Raastech, Inc. 2015 | All rights reserved. Slide 29 of 102@Raastech Web Application OSB Proxy Service Mobile Application SOA Suite Composite Database Table 1 & Table 2 BAM Reports OWSM Policy
  • 30. © Raastech, Inc. 2015 | All rights reserved. Slide 30 of 102@Raastech Create the BAM Data Objects  BAM Data Objects are essentially tables  Used to store data that is published to BAM
  • 31. © Raastech, Inc. 2015 | All rights reserved. Slide 31 of 102@Raastech  BAM Data Objects are essentially tables  Used to store data that is published to BAM Create the BAM Data Objects
  • 32. © Raastech, Inc. 2015 | All rights reserved. Slide 32 of 102@Raastech Create the BAM Data Objects
  • 33. © Raastech, Inc. 2015 | All rights reserved. Slide 33 of 102@Raastech Web Application OSB Proxy Service Mobile Application SOA Suite Composite Database Table 1 & Table 2 BAM Reports OWSM Policy
  • 34. © Raastech, Inc. 2015 | All rights reserved. Slide 34 of 102@Raastech BAM Data Object SOA Suite Composite BPEL (calculate tax) Mediator (route) WebOrders Table MobileOrders Table Price x 1.05 OrderType = ‘W’ OrderType = ‘M’
  • 35. © Raastech, Inc. 2015 | All rights reserved. Slide 35 of 102@Raastech Create SOA composite  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
  • 36. © Raastech, Inc. 2015 | All rights reserved. Slide 36 of 102@Raastech Create a SOA project
  • 37. © Raastech, Inc. 2015 | All rights reserved. Slide 37 of 102@Raastech Create a SOA project
  • 38. © Raastech, Inc. 2015 | All rights reserved. Slide 38 of 102@Raastech Create Database Adapters for each table  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
  • 39. © Raastech, Inc. 2015 | All rights reserved. Slide 39 of 102@Raastech Drag Database Adapter to pane
  • 40. © Raastech, Inc. 2015 | All rights reserved. Slide 40 of 102@Raastech  Provide a name for the reference Use Database Adapter configuration wizard
  • 41. © Raastech, Inc. 2015 | All rights reserved. Slide 41 of 102@Raastech Choose a database to connect to
  • 42. © Raastech, Inc. 2015 | All rights reserved. Slide 42 of 102@Raastech  Select the table name and columns from the database Select table and columns
  • 43. © Raastech, Inc. 2015 | All rights reserved. Slide 43 of 102@Raastech Select type of operation on this table
  • 44. © Raastech, Inc. 2015 | All rights reserved. Slide 44 of 102@Raastech Database Adapters created in JDeveloper
  • 45. © Raastech, Inc. 2015 | All rights reserved. Slide 45 of 102@Raastech Create SOA Mediator component  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
  • 46. © Raastech, Inc. 2015 | All rights reserved. Slide 46 of 102@Raastech  Create a name for the Mediator component Create SOA Mediator component
  • 47. © Raastech, Inc. 2015 | All rights reserved. Slide 47 of 102@Raastech  Use the XSD we created earlier as our message input Create SOA Mediator component
  • 48. © Raastech, Inc. 2015 | All rights reserved. Slide 48 of 102@Raastech Create a WSDL for the Mediator component
  • 49. © Raastech, Inc. 2015 | All rights reserved. Slide 49 of 102@Raastech Create a routing rule
  • 50. © Raastech, Inc. 2015 | All rights reserved. Slide 50 of 102@Raastech  Select the Database Adapter we had created earlier Select the Database Adapter
  • 51. © Raastech, Inc. 2015 | All rights reserved. Slide 51 of 102@Raastech Create a filter expression
  • 52. © Raastech, Inc. 2015 | All rights reserved. Slide 52 of 102@Raastech Create a filter expression
  • 53. © Raastech, Inc. 2015 | All rights reserved. Slide 53 of 102@Raastech Create a transformation
  • 54. © Raastech, Inc. 2015 | All rights reserved. Slide 54 of 102@Raastech Map the XML to the Database Adapter object
  • 55. © Raastech, Inc. 2015 | All rights reserved. Slide 55 of 102@Raastech How the composite looks like so far
  • 56. © Raastech, Inc. 2015 | All rights reserved. Slide 56 of 102@Raastech  BPEL is used for orchestration or complicated logic  Simply drag the “BPEL Process” to the composite pane Create SOA BPEL component
  • 57. © Raastech, Inc. 2015 | All rights reserved. Slide 57 of 102@Raastech Create SOA BPEL component
  • 58. © Raastech, Inc. 2015 | All rights reserved. Slide 58 of 102@Raastech Link the BPEL to the Mediator
  • 59. © Raastech, Inc. 2015 | All rights reserved. Slide 59 of 102@Raastech Create an ‘Assign’ activity
  • 60. © Raastech, Inc. 2015 | All rights reserved. Slide 60 of 102@Raastech Multiple the price
  • 61. © Raastech, Inc. 2015 | All rights reserved. Slide 61 of 102@Raastech Multiply the price
  • 62. © Raastech, Inc. 2015 | All rights reserved. Slide 62 of 102@Raastech Map rest of BPEL elements to Mediator object
  • 63. © Raastech, Inc. 2015 | All rights reserved. Slide 63 of 102@Raastech Create an ‘Assign’ activity for the response
  • 64. © Raastech, Inc. 2015 | All rights reserved. Slide 64 of 102@Raastech Create an ‘Assign’ activity for the response
  • 65. © Raastech, Inc. 2015 | All rights reserved. Slide 65 of 102@Raastech Create BAM Adapter  Similar to the Database Adapter, drag the BAM Adapter  Will query the BAM server and list all available data objects
  • 66. © Raastech, Inc. 2015 | All rights reserved. Slide 66 of 102@Raastech Create BAM Adapter
  • 67. © Raastech, Inc. 2015 | All rights reserved. Slide 67 of 102@Raastech Create BAM Adapter
  • 68. © Raastech, Inc. 2015 | All rights reserved. Slide 68 of 102@Raastech Map BPEL object to BAM object
  • 69. © Raastech, Inc. 2015 | All rights reserved. Slide 69 of 102@Raastech How the final SOA composite looks like
  • 70. © Raastech, Inc. 2015 | All rights reserved. Slide 70 of 102@Raastech 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
  • 71. © Raastech, Inc. 2015 | All rights reserved. Slide 71 of 102@Raastech Web Application OSB Proxy Service Mobile Application SOA Suite Composite Database Table 1 & Table 2 BAM Reports OWSM Policy
  • 72. © Raastech, Inc. 2015 | All rights reserved. Slide 72 of 102@Raastech OWSM Policy OSB Project Proxy Service Business Service http://soadev:8001/soa-infra/...http://soadev:7001/ProcessOrderProxy/... SOA Composite
  • 73. © Raastech, Inc. 2015 | All rights reserved. Slide 73 of 102@Raastech Create OSB project  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
  • 74. © Raastech, Inc. 2015 | All rights reserved. Slide 74 of 102@Raastech Create OSB project
  • 75. © Raastech, Inc. 2015 | All rights reserved. Slide 75 of 102@Raastech Import the SOA composite WSDL
  • 76. © Raastech, Inc. 2015 | All rights reserved. Slide 76 of 102@Raastech Import the SOA composite WSDL
  • 77. © Raastech, Inc. 2015 | All rights reserved. Slide 77 of 102@Raastech Create OSB Business Service
  • 78. © Raastech, Inc. 2015 | All rights reserved. Slide 78 of 102@Raastech Create OSB Business Service
  • 79. © Raastech, Inc. 2015 | All rights reserved. Slide 79 of 102@Raastech Create OSB Proxy Service
  • 80. © Raastech, Inc. 2015 | All rights reserved. Slide 80 of 102@Raastech Create OSB Proxy Service
  • 81. © Raastech, Inc. 2015 | All rights reserved. Slide 81 of 102@Raastech Web Application OSB Proxy Service Mobile Application SOA Suite Composite Database Table 1 & Table 2 BAM Reports OWSM Policy
  • 82. © Raastech, Inc. 2015 | All rights reserved. Slide 82 of 102@Raastech Click on Proxy Service
  • 83. © Raastech, Inc. 2015 | All rights reserved. Slide 83 of 102@Raastech Attach OWSM Policy to OSB Proxy Service
  • 84. © Raastech, Inc. 2015 | All rights reserved. Slide 84 of 102@Raastech …to identify exposed URL
  • 85. © Raastech, Inc. 2015 | All rights reserved. Slide 85 of 102@Raastech Final OSB exposed WSDL  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
  • 86. © Raastech, Inc. 2015 | All rights reserved. Slide 86 of 102@Raastech Web Application OSB Proxy Service Mobile Application SOA Suite Composite Database Table 1 & Table 2 BAM Reports OWSM Policy
  • 87. © Raastech, Inc. 2015 | All rights reserved. Slide 87 of 102@Raastech Test with soapUI  Use soapUI to test the WSDL
  • 88. © Raastech, Inc. 2015 | All rights reserved. Slide 88 of 102@Raastech Observe authentication failure  Seems to be some security error  Valid error… no username/password provided in payload!
  • 89. © Raastech, Inc. 2015 | All rights reserved. Slide 89 of 102@Raastech Test with security token in SOAP header  With authentication info in header, we get our ‘Done’ response
  • 90. © Raastech, Inc. 2015 | All rights reserved. Slide 90 of 102@Raastech Observe instance in EM Console
  • 91. © Raastech, Inc. 2015 | All rights reserved. Slide 91 of 102@Raastech View instance flow  Clicking on the instance ID shows a successful flow  Data only inserted to the ‘WebOrders’ table as expected
  • 92. © Raastech, Inc. 2015 | All rights reserved. Slide 92 of 102@Raastech View Mediator instance details
  • 93. © Raastech, Inc. 2015 | All rights reserved. Slide 93 of 102@Raastech Confirm data in database  Querying the database table confirms this
  • 94. © Raastech, Inc. 2015 | All rights reserved. Slide 94 of 102@Raastech Confirm data in BAM Data Object  Data also published to BAM!  Can now create a report to query this Data Object
  • 95. © Raastech, Inc. 2015 | All rights reserved. Slide 95 of 102@Raastech
  • 96. © Raastech, Inc. 2015 | All rights reserved. Slide 96 of 102@Raastech Summary 1. Create an XML Schema 2. Create the database tables 3. Create the BAM Data Object
  • 97. © Raastech, Inc. 2015 | All rights reserved. Slide 97 of 102@Raastech Summary 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
  • 98. © Raastech, Inc. 2015 | All rights reserved. Slide 98 of 102@Raastech Summary 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
  • 99. © Raastech, Inc. 2015 | All rights reserved. Slide 99 of 102@Raastech Take Aways  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
  • 100. © Raastech, Inc. 2015 | All rights reserved. Slide 100 of 102@Raastech Final Thoughts  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
  • 101. © Raastech, Inc. 2015 | All rights reserved. Slide 101 of 102@Raastech Contact Information  Ahmed Aboulnaga  Technical Director  @Ahmed_Aboulnaga  ahmed.aboulnaga@raastech.com
  • 102. © Raastech, Inc. 2015 | All rights reserved. Slide 102 of 102@Raastech Q&A