35
<Insert Picture Here> Oracle Service Bus Deep Dive

1 2 osb deep dive

Embed Size (px)

Citation preview

<Insert Picture Here>

Oracle Service Bus Deep Dive

Oracle Fusion Middleware Technology Team, ASEAN

<Insert Picture Here>

Agenda

• Oracle Service Bus Features• OSB Management & Monitoring

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

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

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

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

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

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

Oracle Fusion Middleware Technology Team, ASEAN

OSB Console : Overview

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.

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

Oracle Fusion Middleware Technology Team, ASEAN

Labs

• Lab 1 & 2

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.

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.

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

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

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)

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

Oracle Fusion Middleware Technology Team, ASEAN

Labs

• Lab 3

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

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

Oracle Fusion Middleware Technology Team, ASEAN

Transformations

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

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

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

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

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

Oracle Fusion Middleware Technology Team, ASEAN

Labs

• Lab 4 & 5

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

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

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

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

Oracle Fusion Middleware Technology Team, ASEAN

Demo: Security, SLA, Management

•Demo of SLA

•Demo of Management

•Export-Import of projects

•Change Center

•Dependency Check

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

Oracle Fusion Middleware Technology Team, ASEAN

Labs

• Lab 6

Oracle Fusion Middleware Technology Team, ASEAN