Top Banner
<Insert Picture Here> Oracle Service Bus Deep Dive
35
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 2 osb deep dive

<Insert Picture Here>

Oracle Service Bus Deep Dive

Page 2: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

<Insert Picture Here>

Agenda

• Oracle Service Bus Features• OSB Management & Monitoring

Page 3: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Demo Use Case – Avitek PR Application

(Oracle BPM) PR Application Review & Approval Process

OSB

PR Officer

1. Search for blacklisted applicant 2. JDBC database search

3. Submit PR application 4. Insert record

Avitek PR Portal

Page 4: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Use Case :OSBResources

(WSDL,Jars & transformations)

CR WSDL

CR WSDL

XQuery & MFL

Proxy Services

Credit Rating

PR Application Portal

CR_Salaried

CR_Self_Employed

Business Service

File Service

Page 5: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

OSB Architecture

Transports & Bindings

Enterprise Service Bus

Service Orchestration

SOA Governance

Ser

vice

Man

agem

ent E

nterprise Security

Corporate Services

Page 6: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Transport Layer

Transports & Bindings

Enterprise Service Bus

Service Orchestration

SOA Governance

Ser

vice

Man

agem

ent E

nterprise Security

Corporate Services

service

service

Tran

spor

t

Transport Layer (Inbound)The first step for the message into the ESB is the inbound transport layer which is responsible for handling communication with the service client endpoint.

Supports a variety of communication protocols, HTTP(S), JMS, EJB, FTP, eMail (SMTP/POP/IMAP), TUXEDO, File, Custom Developed

Tran

spor

t

Transport Layer (Outbound)The outbound transport layer is responsible for handling communication with the destination endpoint.

Supports a variety of communication protocols, HTTP(S), JMS, EJB, FTP, eMail (SMTP/POP/IMAP), TUXEDO, File, Custom Developed

Page 7: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Binding Layer

Transports & Bindings

Enterprise Service Bus

Service Orchestration

SOA Governance

Ser

vice

Man

agem

ent E

nterprise Security

Corporate Services

service

service

Tran

spor

t

Tran

spor

t

Bin

ding

Bin

ding

Binding Layer (Inbound)The inbound Binding Layer unpacks messages as necessary

Handles security for messages

Hands messages off for message flow thru the bus

Binding Layer (Outbound)The outbound Binding Layer packs messages as necessary

Handles security for messages

Hand the message off to the transport

Page 8: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Supported Protocols• Protocols

• SOAP over HTTP/JMS• HTTP/S• JMS• RMI/IIOP (EJB)• Tuxedo, MQSeries• Email (SMTP/POP/IMAP)• FTP/Secure FTP• Custom• Oracle Adapters (framework + Adapters post 10gR3)

• Message Formats• XML• Text• Custom Binary (EDI, etc.)

• Adapters• SAP• PeopleSoft• Siebel• Oracle• SWIFT

XML

SOAP over HTTP

XML

JMS

Text

SMTP

Page 9: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

OSB Console : Overview

Page 10: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Business Service

Transports & Bindings

Enterprise Service Bus

Service Orchestration

SOA Governance

Ser

vice

Man

agem

ent E

nterprise Security

Corporate Services

service

Tran

spor

t

Bin

ding

service

Bus

ines

s S

ervi

ce

Bin

ding

Tran

spor

t

Business ServiceBusiness services are the ESB's definition of the enterprise services with which it will exchange messages.

Page 11: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Demo:Business Service(BS)

•Demo of Credit Rating – WSDL based BS

Business Services

Credit Rating Servicefor Salaried applicant

Credit Rating Servicefor self-employed

File Service (Save Application as file)

PR Application Portal

CreditRatingService

Calls service to save PR info as file

BPM Process

Page 12: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Labs

• Lab 1 & 2

Page 13: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Proxy Service

Transports & Bindings

Enterprise Service Bus

Service Orchestration

SOA Governance

Ser

vice

Man

agem

ent E

nterprise Security

Corporate Services

service

service

Bus

ines

s S

ervi

ce

Bin

ding

Tran

spor

t

Pro

xy S

ervi

ce

Tran

spor

t

Bin

ding

Proxy Service

Proxy services are the ESB's definitions of intermediary Web services that are hosted locally on the bus.

With message brokering, service clients exchange messages with the intermediary proxy service instead of directly with a business service.

A proxy service can have an interface that is identical to a business service with which the proxy service communicates, or the proxy service can have an interface that differs from that of the business service.

Since a proxy service can route messages to multiple business services, you can choose to configure a proxy service with an interface that is independent of the business services with which the proxy service communicates. In such cases, you would configure a message flow definition to route a message to the appropriate business service and map the message data into the format required by the business service's interface.

Page 14: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Message Flow

Transports & Bindings

Enterprise Service Bus

Service Orchestration

SOA Governance

Ser

vice

Man

agem

ent E

nterprise Security

Corporate Services

service

service

Bus

ines

s S

ervi

ce

Bin

ding

Tran

spor

t

Pro

xy S

ervi

ce

Tran

spor

t

Bin

ding

Message Flow

Message Flows are the definitions of the ESB's proxy services. Pipelines, branch nodes, and route nodes define the implementation of proxy services.

Page 15: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Message Flow

• Conditions/branches• Routing destinations• Request/response Pipelines• Actions:

• Update/replace/delete message contents• Update message headers• Call another service• Raise error on client• Generate a report or alert• Invoke a Java class or EJB

• Error handlers

Action

Pipeline

Page 16: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Content Based Routing

service

service

Transports & Bindings

Enterprise Service Bus

Service Orchestration

SOA Governance

Ser

vice

Man

agem

ent E

nterprise Security

Corporate Services

service

Page 17: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Demo:Proxy Service,Message Flow & Content Based Routing

Business Services

Credit Rating Servicefor Salaried applicant

Credit Rating Servicefor self-employed

CreditRatingProxy Service

BPM Process

CreditRating(Response)

WorkType&Income (Request)

Page 18: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Demo:Proxy Service,Message Flow & Content Based Routing

•Demo of Credit Rating Proxy – WSDL based PS

•Routing node, content based routing

•Message processing actions

•Demo of PR application Proxy – WSDL based PS

•Pipeline – request, response, error

•Stages - Actions

Page 19: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Labs

• Lab 3

Page 20: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Web Service Callouts

Transports & Bindings

Enterprise Service Bus

Service Orchestration

SOA Governance

Ser

vice

Man

agem

ent E

nterprise Security

Corporate Services

service

service

service

Page 21: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

POJO or EJB Callouts

Transports & Bindings

Enterprise Service Bus

Service Orchestration

SOA Governance

Ser

vice

Man

agem

ent E

nterprise Security

Corporate Services

service

service

Page 22: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Transformations

• XML to XML (XQuery or XSLT)• XML to Text/Binary (XQuery)• Binary to Binary (MFL)

Page 23: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Transformation Action

Transports & Bindings

Enterprise Service Bus

Service Orchestration

SOA Governance

Ser

vice

Man

agem

ent E

nterprise Security

Corporate Services

service

service

Page 24: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Logging

Transports & Bindings

Enterprise Service Bus

Service Orchestration

SOA Governance

Ser

vice

Man

agem

ent E

nterprise Security

Corporate Services

service

service

Log File

Page 25: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Error Handling

Transports & Bindings

Enterprise Service Bus

Service Orchestration

SOA Governance

Ser

vice

Man

agem

ent E

nterprise Security

Corporate Services

Exception Handler

Page 26: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Demo: Service Callout, Transformation,Logging

•Demo of Service callout actions to Credit Rating (SOAP based service)

•Demo of service callout to file based service

•Demo of XQuery transformation (XML <-> XML), MFL(XML <-> non-XML) transformation

•Demo of logging

Page 27: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Labs

• Lab 4 & 5

Page 28: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Transports & Bindings

Enterprise Service Bus

Service Orchestration

SOA Governance

Ser

vice

Man

agem

ent E

nterprise Security

Corporate Services

SLA & Alerts

service

service

Bus

ines

s S

ervi

ce

Bin

ding

Tran

spor

t

Pro

xy S

ervi

ce

Tran

spor

t

Bin

ding

Alert

Page 29: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

SLA & Alerts

• Service Level Agreements (SLAs)• Guarantee a certain level of performance and/or quality• Trigger reports and Alerts

• Email• SNMP• JMS

• Rules based on:• Response time• Message count• Success/failure ratio• Schema violations• Security violations

Page 30: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Transports & Bindings

Enterprise Service Bus

Service Orchestration

SOA Governance

Ser

vice

Man

agem

ent E

nterprise Security

Corporate Services

Management

service

Bus

ines

s S

ervi

ce

Bin

ding

Tran

spor

t

service

Pro

xy S

ervi

ce

Tran

spor

t

Bin

ding

Page 31: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

OSB Security

• Transport security (HTTP, JMS, etc.)• Basic authentication• SSL

• SOAP message security• WS-Security• WS-Policy• SAML

• Credential mapping• Role-based authorization• Delegated administration

Service Consumer

Service Producer

Proxy Service

Business Service

SOAP over HTTPS

WS-SecuritySAML

Authorization

Credential Mapping

Page 32: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Demo: Security, SLA, Management

•Demo of SLA

•Demo of Management

•Export-Import of projects

•Change Center

•Dependency Check

Page 33: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Universal Description, Discovery, and Integration (UDDI)

• Metadata structure to classify and catalog services• SOAP interface to communicate with a service

registry ("digital telephone book")

Service Registry

WSDL + metadata

WSDL + metadata

Service Development &

Management Tools SOAP

Publish ServiceDiscover Service

Page 34: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN

Labs

• Lab 6

Page 35: 1 2 osb deep dive

Oracle Fusion Middleware Technology Team, ASEAN