You are on page 1of 36

1 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Oracle Fusion Applications:


Best Practices in Integration
Design Patterns
Rajesh Raheja
Senior Director, Product Management
Oracle Fusion Middleware Business Integration

Ravi Sankaran
Director, Architecture @RahejaRajesh
Oracle Fusion Middleware Business Integration
2 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. #oow CON8685
Safe Harbor Statement

The following is intended to outline our general product direction. It is intended


for information purposes only, and may not be incorporated into any contract.
It is not a commitment to deliver any material, code, or functionality, and should
not be relied upon in making purchasing decisions. The development, release,
and timing of any features or functionality described for Oracle s products
remains at the sole discretion of Oracle.

3 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


Program Agenda

§  Fusion Applications Cloud Integration Architecture


§  SaaS to On-Premise Integration Patterns
–  Inbound Web Services Calls
–  Outbound Event Notifications
–  Outbound Web Service Callouts
–  Data Integration: Bulk and Incremental Imports

4 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


Cloud Integration
Architecture

5 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


Fusion Applications: Simplifying the Integration
Experience •  Service Oriented Architecture
•  Standards Based
•  BUILT on Oracle Fusion Middleware 11g

3rd Party Partners


& ISV Applications

Tools and Technology Applications

Cloud
Applications

On Premise
Applications

6 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


Hybrid Cloud Integration Architecture

Oracle Fusion
Middleware
3rd Party Partners
Oracle Public Cloud
& ISV Applications Oracle SOA and
BPM Suite
Design Time Oracle Enterprise
Oracle Service
Cloud Bus
Repository for FA
Applications

Oracle Data •  Web Services Oracle Fusion


Integration •  Bulk Interface Applications
On Premise
Applications
Oracle Golden
Gate

7 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


Catalog for Visibility into Integration Assets
Oracle Enterprise Repository (OER) for Fusion Applications
•  1000+ Assets
ü  Web Services
ü  Schema Definition
ü  Composite Services
ü  Business Events
ü  Interface Tables
ü  Flat File Interfaces
ü  eTRM Documentation e.g.
ü  Customization Layers
http://fusionappsoer.oracle.com
ü  Flexfields
ü  Flexfields, Lookups, Profile Options •  Categorized by
ü  Roles and Reports Ø  Product Line à Product Family à Product
ü  Tables, Views, Scheduled Processes Ø  Business Object
ü  Diagrams: Data Model and Topology Ø  Integration Scenario

8 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


Types of Fusion Applications Web Services

Business Object Web Services Business Process Web Services


§  ”ADF Service” §  “Composite Service”
§  CRUD style services for a given object §  Represents end-to-end flows
o  e.g. Worker.changeHireDate() §  Orchestrate many objects, rules and
o  e.g. ProjectTask.createTask() human workflows

§  May have non-CRUD object-specific o  e.g. Project Status Change Approval
operations o  e.g. Schedule Orchestration Order
o  e.g. ConvertLeadtoOpportunity() Fulfillment Line Service

§  May incorporate federated queries §  Typically acts on business events
produced by Business Object services
§  May be wrappers for batch style jobs

9 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


Finding SaaS-Friendly Integration Web Services

Compatibility Keyword Usage


Supported EXTERNAL Visible and Usable
in SaaS
deployments
Supported - Allowed only within
Fusion Applications
SOA domain
Not Supported EXTERNAL Do not use.
Reserved for internal
products e.g.
certified mobile apps

10 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


SaaS to On-Premise
Integration Patterns

11 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


Inbound: Invoking Fusion Applications Web
Service

§  Standards Compliant Web Services


–  SOAP 1.1, WSDL 1.1, WS-Security 1.1, SSL, WS-Addressing
–  Authentication via WS-Security Username token or SAML*
–  Message Protection via SSL or WS-Security 1.1 encryption
§  Synchronous or Asynchronous Request-Reply Patterns
–  Asynchronous recommended for long running to avoid time outs
–  Asynchronous callback correlation done using WS-Addressing
§  Supports extensible attributes (flex fields)
* SAML support available in On-Premise mode

12 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


Search Web Services in the Repository

13 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


Review Service Details and Schema Information

Replace ?WSDL
with ?XSD&xsdlist
to view object
schemas

14 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


Release 5
Review Web Service Security Requirements

15 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


Release 5
Review Service Documentation and Examples

16 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


Consume the WSDL and Invoke the Service

17 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


OER for Fusion Applications Provides End to
End Visibility
ADF Service Composite
Human
Business Event Mediator Workflow
Event Subscription BPEL
ADF SDO Business
Rules
Composite
Service
Business Object Business Process
Web Services Web Services

ADF Service Name = Logical Business Object Composite Taxonomy subscribes To Event

Event Taxonomy applies to Logical Business Object Note: LBO name may not be present in all Event taxonomies

18 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


Business Events

§  Published via Event Delivery Network (EDN)


–  Notify subscribers of important changes to business
objects or process state
–  e.g. Customer Created, Order Fulfilled, Item Shipped
–  Loose coupling of publishers and subscribers
–  Key extensibility point for integration purposes in on-
premise mode
§  Examples: (OER Type FusionApps: Event)
–  Person Changed
–  Person Name Changed

19 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


Business Event Triggered Composites

20 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


CRM Object Workflow Outbound Message
Via On-Premise Intermediary Service

• Real-time notification of Business Object triggered events


• Sends Business Object SDO to pre-registered URL
(intermediary WS)

Oracle Public Cloud

Cloud
Applications
2. Invoke on-premise
or any other cloud services Fusion CRM Account
1. SOAP call to
On Premise
Applications
  Web  Service   on-premise URL Object Workflow Opportunity
Endpoint   Outbound Message
  Campaign

On-­‐Premise   3. Callbacks via


Business Object web services

21 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


CRM Object Workflow Outbound Message
Via Cloud Intermediary Service

Oracle Public Cloud


Invoke on-premise
Cloud or any other cloud
Applications SOAP call to URL (OPC Java Service)
services
Fusion CRM Account
On Premise
Applications
  Java Object Workflow Opportunity
Service Outbound Message Campaign
 
On-­‐Premise  

22 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


CRM Composer Object Workflow

23 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


CRM Object Workflow Outbound Message

24 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


HCM Outbound Message propagation (Planned)
Via On-Premise Intermediary Service

• Real-time notification of Business Object triggered events


• Sends Business Object SDO to pre-registered URL
(intermediary WS)

Oracle Public Cloud

Cloud
Applications
2. Invoke on-premise
or any other cloud services Fusion HCM Job
1. SOAP call to
On Premise
Applications
  Web  Service   on-premise URL HCM Event Address
Endpoint   Framework
  Org

On-­‐Premise   3. Callbacks via


Business Object web services

25 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


CRM Object Workflow BPM Process
Cloud to any Web Service via Custom BPM Process

• Real-time notification of Business Object triggered events


• Sends Business Object SDO to pre-registered business
process created by customers using BPM Composer

Oracle Public Cloud

1. Invoke cloud or Fusion CRM


Cloud on-premise Account
Applications
web services Object Workflow Opportunity
On Premise
BPM Process Campaign
Applications
2. Callbacks via
Business Object web services

26 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


SCM Distributed Order Orchestration
Cloud to any WS via Pre-Defined WS Intermediary
• Real-time Request-Reply style integration triggered by the SCM DOO application
• Invokes a pre-registered SCM DOO specific web service to receive fulfillment status updates

Oracle Public Cloud


Cloud
Applications
Invoke on-premise SOAP call to URL (OPC Java Service or On-Premise)
or any other cloud
services
Java Fusion SCM
Service
On Premise   Web  Service   External Integration
Applications
Endpoint   Fulfillment
Layer (EIL)
 
On-­‐Premise  
Callbacks via
Business Object web services

27 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


Batch Data Integration: Import/Export
Oracle Fusion Applications Oracle Fusion Applications
Job  Mgmt   Mapping  Jobs  
ESS  UI   SQL*Loader  
Web  Services  
SQL*Plus  
Oracle  Data  Integrator   DT CSV Format
OER  for  FA   ODI    Studio  
ODI  Studio  
FA
File  Mgmt   ODI  RunCme  
CSV Data Files
Upload  UI  
ODI  RunCme  
UCM  Server   Custom…  
FA
CSV
Process Files
Ad-hoc
loads ADF   File Import /
Desktop   Export Job
HTTPS / SFTP IntegraCon  
  FA    
AU   Interface   FA  
Batch Loader /
Interface   On Oracle Tables   Base  
Output Job
Tables   Premise Public Cloud (OpConal)   Tables  

28 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


Release 5
Scheduled Jobs for File Based Data Import

29 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


Release 5
File Based Data Import Usage Documentation

30 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


Release 5
Privileges Required to Run Import Job

31 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


Release 7
Data Integration Security and File Upload UI

•  Security Group
o  FAFusionImportExport

•  Accounts
o  /<family>/<object>/import

o  /<family>/<object>/export

•  Processed Flag
o  ESS Request ID

32 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


Summary: Integrating with Fusion
Applications

ü  Simplify Integration Experience for the Enterprise


ü  Flexible SaaS to On-Premise Service Integrations
ü  Secure and Scalable Bulk Integrations

33 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


Q&A

34 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


35 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
36 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

You might also like