Vous êtes sur la page 1sur 10

THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY.

COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED

Student Guide

D68256GC11

Edition 1.1

February 2012

D76029

Oracle University and Xtentics Consultancy Srevices use only

Oracle Service Bus 11g:


Design and Integrate Services

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

Swarnapriya Shridhar

Disclaimer

Technical Contributors and


Reviewers
Sandeep Agarwal
Deb Ayers
Pradeep Bollineni
Satish Duggana
Rakesh Gowda

This document contains proprietary information and is protected by copyright and


other intellectual property laws. You may copy and print this document solely for your
own use in an Oracle training course. The document may not be modified or altered
in any way. Except where your use constitutes "fair use" under copyright law, you
may not use, share, download, upload, copy, print, display, perform, reproduce,
publish, license, post, transmit, or distribute this document in whole or in part without
the express authorization of Oracle.
The information contained in this document is subject to change without notice. If you
find any problems in the document, please report them in writing to: Oracle University,
500 Oracle Parkway, Redwood Shores, California 94065 USA. This document is not
warranted to be error-free.

Amit Jhunjhunwala
Yosuke Katsuki
Jay Kasi
Pankaj Khandelwal
Takyiu Liu
Mary Peek
Rakesh Saha
David Shaffer
Matthew Slingsby

Editors
Smita Kommini
Aju Kumar
Rashmi Rajagopal

Publisher
Veena Narasimhan

Restricted Rights Notice


If this documentation is delivered to the United States Government or anyone using
the documentation on behalf of the United States Government, the following notice is
applicable:
U.S. GOVERNMENT RIGHTS
The U.S. Governments rights to use, modify, reproduce, release, perform, display, or
disclose these training materials are restricted by the terms of the applicable Oracle
license agreement and/or the applicable U.S. Government contract.
Trademark Notice
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names
may be trademarks of their respective owners.

Oracle University and Xtentics Consultancy Srevices use only

THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED

Author

Introduction
Target Audience and Prerequisite Skills 1-2
Course Objectives 1-3
Course Schedule 1-4
Additional Course Materials 1-5
Course Practices 1-6
Course Environment 1-7
Classroom Guidelines 1-8
For More Information 1-9
Class Introductions 1-10

Introduction to Oracle Service Bus


Objectives 2-2
Getting Started 2-3
Enterprise Challenges 2-4
Point-to-Point Integration 2-5
Enterprise Application Integration 2-6
Service-Oriented Architecture (SOA) 2-7
Service-Oriented Architecture: Definition 2-8
Integrating Solutions and Benefits with SOA 2-9
SOA and Services 2-10
Implementing SOA Strategy 2-11
SOA Reference Architecture 2-12
SOA Reference Architecture: Service Consumers 2-14
SOA Reference Architecture: Service Classifications 2-15
SOA Reference Architecture: Service Providers 2-16
Data Services Layer 2-17
Connectivity Services Layer 2-18
Business Services Layer 2-19
Business Process Services Layer 2-20
Presentation Services Layer 2-21
Infrastructure Services 2-22
SOA Implementation Challenge 2-24
Service Sprawl 2-25
Solution to Service Sprawl 2-26

iii

Oracle University and Xtentics Consultancy Srevices use only

THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED

Contents

Message Flow
Objectives 3-2
Service Bus Architecture 3-3
Oracle Service Bus Console 3-5
Projects and Resources 3-6
OSB Projects 3-7
OSB Resource Types 3-8
Business Services 3-9
Creating a Business Service 3-10
Proxy Services 3-11
Creating a Proxy Service 3-12
Difference Between Binding and Port 3-13
Quiz 3-14
Message Context Model 3-15
Using Context Variables 3-16
Predefined Context Variables 3-17
Predefined Context Variables: Descriptions 3-18
Message-Related Variables 3-20
$header Variables 3-21
$body Variables 3-22
$body Binary Content 3-23
$body Java Content 3-24
$attachments Variable 3-25
$body and RPC 3-27
$fault Variable 3-28

iv

Oracle University and Xtentics Consultancy Srevices use only

THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED

Oracle Service Bus 2-27


Key Features of Oracle Service Bus 2-28
Oracle Service Bus as a Message Broker 2-29
Location Transparency 2-31
Dynamic Routing 2-32
Transformations 2-33
Service Orchestration 2-34
Message Enrichment 2-35
Security 2-36
Service-Level Agreements 2-38
OSB Architecture and Functional Features 2-39
OSB Architecture 2-40
OSB Functional Features 2-41
Summary 2-43
Practice 2 Overview: Introduction to Oracle Service Bus 2-44

Message Flow Actions


Objectives 4-2
Message Flow Design 4-3
Route Node 4-4
Route Node Communication Action: Dynamic Routing 4-5
Route Node Communication Action: Routing 4-6
Route Node Communication Action: Routing Table 4-7
Route Node Flow Control Action: If-Then 4-8
Routing Table Versus Conditional Branching 4-9
Quiz 4-10
Stage Node 4-11
Stage Node Communication Action: Dynamic Publish 4-12
Stage Node Communication Action: Publish 4-13
Stage Node Communication Action: Publish Table 4-14
Stage Node Communication Action: Routing Options 4-15
Stage Node Communication Action: Service Callout 4-16
Stage Node Communication Action: Transport Headers 4-18
Stage Node Flow Control Actions 4-20
Quiz 4-21
Stage Node Message Processing Actions 4-22
Message Format Language 4-24

Oracle University and Xtentics Consultancy Srevices use only

THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED

$inbound and $outbound Variables 3-29


$operation Variable 3-30
User-Defined Context Variables 3-31
Variables and Types 3-32
Inbound Message Dispatching 3-33
Outbound Message Dispatching 3-34
Quiz 3-35
Message Flow Components 3-36
Branching 3-38
Branching Types 3-39
Conditional Branch 3-40
Operational Branch 3-41
Expression Editor 3-42
Variable Structures 3-43
Namespace Definitions 3-44
XQuery Functions 3-45
Quiz 3-46
Summary 3-49
Practice 3 Overview: Message Flow 3-50

Message Flow Best Practices


Objectives 5-2
Split-Join Pattern 5-3
Split-Join Order: Example 5-4
Split-Join Patterns 5-5
Creating a Split-Join Configuration 5-6
Receive Node 5-7
Reply Node 5-8
Parallel Node 5-9
Assign Node 5-10
Invoke Service Node 5-12
Input and Output Variables 5-13
Exporting the Split-Join Flow 5-14
Split-Join Flow Creation Process 5-15
Quiz 5-16
Dynamic Routing 5-17
Dynamic Routing Techniques 5-18
Technique 1 5-19
Sample XML File 5-20
Dynamic Routing Action 5-21
Technique 2 5-22
Summary 5-23
Practice 5 Overview: Message Flow Best Practices 5-24

Transports in Oracle Service Bus


Objectives 6-2
SOA-DIRECT Transport 6-3

vi

Oracle University and Xtentics Consultancy Srevices use only

THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED

Using MFL 4-25


Quiz 4-26
Stage Node Reporting Actions 4-27
Oracle XQuery Mapper 4-29
Mapping Data 4-30
Creating a Transformation 4-31
Mapping a Transformation 4-32
Using XQuery File in OSB 4-33
Custom XPath Functions 4-34
Creating a Custom XPath Function 4-35
Registering a Custom Function 4-36
Summary 4-37
Practice 4 Overview: Message Flow Actions 4-38

Debugging with Oracle Service Bus


Objectives 7-2
Error Handler Pipelines 7-3
Error Handlers 7-4
$fault Variable 7-5
Error Codes 7-6
Reply Action 7-8
Reply Action in OSB Console 7-9
Transport Errors with Service Callouts 7-10
Error Code BEA-382502 7-11
SOAP Faults with Service Callouts 7-12
Unexpected Responses and Service Callouts 7-13
Resume Action 7-14
Quiz 7-15
Validation and Error Scenario 7-17
Validate Action 7-18
Quiz 7-19
Reporting Actions 7-20
Oracle Service Bus Reporting Framework 7-21
Reporting Framework: Diagrammatic Representation 7-22
Report Action 7-24

vii

Oracle University and Xtentics Consultancy Srevices use only

THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED

Features of SOA-DIRECT Transport 6-4


Synchronous Invocation of SOA Composite Components 6-5
Synchronous Invocation from a SOA Composite 6-6
Asynchronous Invocation of a SOA Composite 6-8
Asynchronous Invocation from a SOA Composite 6-9
Quiz 6-10
JCA Transport 6-11
Features of the JCA Transport 6-12
Adapters Supported by JCA Transport 6-13
JCA Adapter Framework 6-14
General Configuration of JCA Adapter 6-15
Representational State Transfer (REST) 6-17
OSB Support for REST 6-19
Example 6-20
Standard Proxy Service: Example 6-21
REST-ful Proxy Service: Example 6-23
Quiz 6-28
Summary 6-29
Practice 6 Overview: Transports in Oracle Service Bus 6-30

Introduction to Oracle Service Bus Security


Objectives 8-2
Introduction to Oracle Service Bus Security 8-3
Inbound and Outbound Security 8-4
Identity Propagation in Oracle Service Bus 8-6
Example: Authentication with a Username Token 8-7
Securing Oracle Service Bus with Oracle Web Services Manager 8-9
Configuring OWSM Keystore by Using Enterprise Manager Console 8-11
Credential Store Framework 8-12
Configuring the OWSM CSF by Using Oracle Enterprise Manager 8-13
Web Services Policy 8-14
Using Security Assertion Markup Language (SAML) for Authentication 8-15
Quiz 8-16
Summary 8-18
Practice 8 Overview: Introduction to Oracle Service Bus Security 8-19

Appendix A: Service Bus Concepts


Objectives A-2
Introduction to Service Bus Technology A-3
Benefits of a Service Bus A-4
Service Bus Technologies A-5
Web Services Description Language A-6
Simple Object Access Protocol A-7
Universal Description, Discovery, and Integration (UDDI) A-8
XML Schema A-9
XPath A-10
XQuery A-11
Extensible Stylesheet Language Transformations A-12
Summary A-13
Appendix B: Transports
Objectives B-2

viii

Oracle University and Xtentics Consultancy Srevices use only

THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED

Log Action 7-26


Alert Action 7-27
Quiz 7-28
OSB Debug Files 7-29
OSB Debug Flags 7-30
Configuration Framework Debug Flags 7-32
Summary 7-33
Practice 7 Overview: Debugging with Oracle Service Bus 7-34

Appendix C: Delivery Methods


Objectives C-2
Quality of Service C-3
Delivery Guarantees C-4
Delivery Guarantee Types C-5
Delivery Guarantee Rules C-6
Overriding the Default Element C-8
Reliable Messaging Support C-9
Configuring Delivery Behavior C-11
HTTP(S) Quality of Service Success C-12
Handling Unreliable Transports C-13
Threading Model C-14
Summary C-15

ix

B-10

Oracle University and Xtentics Consultancy Srevices use only

THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED

SB Transport B-3
EJB Transport B-4
JEJB Transport B-5
Local Transport B-6
WS Transport B-7
MQ Transport B-8
HTTP and Poll-Based Transports B-9
Oracle Data Service Integrator Transport
Summary B-11

Oracle University and Xtentics Consultancy Srevices use only

THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED

Vous aimerez peut-être aussi