You are on page 1of 59

For Oracle employees and authorized partners only. Do not distribute to third parties.

© 2013 Oracle Corporation –
Proprietary and Confidential

1

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.

For Oracle employees and authorized partners only. Do not distribute to third parties.
© 2013 Oracle Corporation – Proprietary and Confidential

2

Oracle Training Materials – Usage
Agreement
Use of this Site (“Site”) or Materials constitutes agreement with the following terms and conditions:
1. Oracle Corporation (“Oracle”) is pleased to allow its business partner (“Partner”) to download and copy
the information, documents, and the online training courses (collectively, “Materials") found on this
Site. The use of the Materials is restricted to the non-commercial, internal training of the Partner’s
employees only. The Materials may not be used for training, promotion, or sales to customers or other
partners or third parties.
2. All the Materials are trademarks of Oracle and are proprietary information of Oracle. Partner or other
third party at no time has any right to resell, redistribute or create derivative works from the Materials.
3. Oracle disclaims any warranties or representations as to the accuracy or completeness of any
Materials. Materials are provided "as is" without warranty of any kind, either express or implied,
including without limitation warranties of merchantability, fitness for a particular purpose, and noninfringement.
4. Under no circumstances shall Oracle or the Oracle Authorized Boot Camp Training Partner be liable
for any loss, damage, liability or expense incurred or suffered which is claimed to have resulted from
use of this Site of Materials. As a condition of use of the Materials, Partner agrees to indemnify Oracle
from and against any and all actions, claims, losses, damages, liabilities and expenses (including
reasonable attorneys' fees) arising out of Partner’s use of the Materials.
5. Reference materials including but not limited to those identified in the Boot Camp manifest can not be
redistributed in any format without Oracle written consent.
For Oracle employees and authorized partners only. Do not distribute to third parties.
© 2013 Oracle Corporation – Proprietary and Confidential

3

<Insert Picture Here>

SOA Suite 11g Boot Camp
Fundamentals

November 2013

Objectives
•  Describe how SOA concepts map to implementation in
composites and Service Bus
•  Describe the components and architecture of SOA Suite
•  Use the right components to implement common
integration patterns
•  Analyze XPath expressions to retrieve elements in an
XML document
•  Describe how B2B capabilities enable trading partner
relationships

For Oracle employees and authorized partners only. Do not distribute to third parties.
© 2013 Oracle Corporation – Proprietary and Confidential

5

Objectives •  Describe how SOA concepts map to implementation in composites and Service Bus •  Describe the components and architecture of SOA Suite •  Use the right components to implement common integration patterns •  Analyze XPath expressions to retrieve elements in an XML document •  Describe how B2B capabilities enable trading partner relationships For Oracle employees and authorized partners only. Do not distribute to third parties. © 2013 Oracle Corporation – Proprietary and Confidential 6 .

Do not distribute to third parties.Wikipedia For Oracle employees and authorized partners only.What is SOA? The Big Picture “A Service-Oriented Architecture (SOA) is a set of principles and methodologies for designing and developing software in the form of interoperable services. These services are well-defined business functionalities that are built as software components that can be reused for different purposes.” -. © 2013 Oracle Corporation – Proprietary and Confidential 7 .

© 2013 Oracle Corporation – Proprietary and Confidential 8 . The Netherlands For Oracle employees and authorized partners only. Amis. Do not distribute to third parties.Lucas Jellema CTO.” -.What is SOA? The Big Picture “SOA may be viewed as a boundary technology … Instead of specifying how systems are built at the lowest level. it focuses on how services are described and how they interoperate in a standards-based world.

•  Loose coupling – Services maintain a relationship that minimizes dependencies and only requires that they maintain an awareness of each other. •  Discoverability – Services are supplemented with communicative meta data by which they can be effectively discovered and interpreted. •  Reusability – Logic is divided into services with the intention of promoting reuse. •  Statelessness . •  Autonomy – Services have control over the logic they encapsulate.What is SOA? Design Principles •  Service contract – Services adhere to a communications agreement as defined collectively by one or more service description documents. 9 . - Thomas Erl Arcitura Education Inc. services hide logic from the outside world. •  Abstraction – Beyond descriptions in the service contract.Services minimize resource consumption by deferring the management of state information when necessary •  Composability – Services are effective composition participants. regardless of the size and complexity of the composition.

Do not distribute to third parties.What is SOA? Web Services Implementation •  Web services is the most popular way of implementing SOA services •  WSDL (Web Services Description Language) uses XML to define the interface contract between the service provider and the service requester •  WSDL service definitions may be stored in a service broker (SOA registry/repository) to promote sharing/reuse •  Service requester and service provider communicate via SOAP (Simple Object Access Protocol) messages For Oracle employees and authorized partners only. © 2013 Oracle Corporation – Proprietary and Confidential 10 .

” -. © 2013 Oracle Corporation – Proprietary and Confidential 11 . Do not distribute to third parties. The Netherlands For Oracle employees and authorized partners only.Lucas Jellema CTO. Amis.Why SOA? •  Reduce “impedance mismatch” between business and IT •  Reuse functionality across business processes and organizations •  Interoperate between loosely-coupled services in a platform-independent fashion •  Respond quickly to business demands as SOA applications are more flexible •  Save time and money in delivering new functionality due to reuse and flexibility “SOA is BAD! It helps us realize Business Agility through Decoupling.

Do not distribute to third parties. © 2013 Oracle Corporation – Proprietary and Confidential Trading Partner System 12 . Customer Status Shipping Charges Customer Status Product Availability Product Availability Order Status Credit Verification Credit Verification Order Status Marketing System CRM System Finance System Warehousing System Another Business Unit System For Oracle employees and authorized partners only.Why SOA? Siloed Systems and Point-to-Point Integrations Service Scheduling Order Processing Account Mgmt.

Order Processing Service Portfolio Customer Status Marketing System Credit Verification CRM System Product Availability Finance System Warehousing System Order Status Another Business Unit System Shipping Charges Trading Partner System •  Examine business requirements to identify functionality to be used as a service •  Create services and add them to the “service portfolio” which is a set of services required for implementing one or more processes in a business domain •  Services can be created using adapter services or BPEL processes wrapped as web services •  Services are often referenced in a registry/repository to facilitate sharing and service governance For Oracle employees and authorized partners only. © 2013 Oracle Corporation – Proprietary and Confidential 13 .Building SOA Applications Step 1: Create a Service Portfolio Service Scheduling Account Mgmt. Do not distribute to third parties.

Do not distribute to third parties.Building SOA Applications Step 2: Assemble Services into Composite Apps Service Scheduling Account Mgmt. © 2013 Oracle Corporation – Proprietary and Confidential 14 . Order Processing Composite Applications Service Portfolio Customer Status Marketing System •  •  •  •  Credit Verification CRM System Product Availability Finance System Warehousing System Order Status Another Business Unit System Shipping Charges Trading Partner System Utilize services in service portfolio to assemble applications as composites A composite application address a particular business requirement Composite applications may introduce new services that can be added to the service portfolio Service Component Architecture (SCA) is a standard that defines composition For Oracle employees and authorized partners only.

© 2013 Oracle Corporation – Proprietary and Confidential 15 . BPEL. Do not distribute to third parties. Spring) Bindings (SOAP. …) For Oracle employees and authorized partners only.What is SCA? •  SCA is Service Component Architecture •  Standard set of specifications describing how to assemble composite applications based upon SOA principles •  Nurtured by OASIS (Organization for the Advancement of Structured Information Standards) •  Services are assembled into a composite application that addresses a particular set of business requirements •  Collection of specifications: •  •  •  •  Assembly Model (XML elements used to define the app structure) Policy Framework (non-functional requirements like security) Component Implementations (Java. JMS. C++. PHP. JDBC.

© 2013 Oracle Corporation – Proprietary and Confidential 16 .SCA Fundamentals properties Java interface WSDL portType S service S C1 R wire Binding: SOAP JMS JCS S … C2 component R R reference composite •  •  •  •  •  Composite: deployment unit Component: provides logic to accomplish a task Service: entry-point into component Reference: refers to external services outside the component Wire: connects services. Do not distribute to third parties. but not flow of control For Oracle employees and authorized partners only. components and references and shows dependencies.

•  Messages are sent from the composite to the external world via a reference component.ws. •  Wire is used to connect the binding service component to the composite •  The service component connects the WebApp application using the wire to the Service Component Account which is a BPEL component.SOA Composite Architecture Overview •  WebApp application connects to the Composite BigBank using a service component called binding. © 2013 Oracle Corporation – Proprietary and Confidential 17 . For Oracle employees and authorized partners only. Do not distribute to third parties.

© 2013 Oracle Corporation – Proprietary and Confidential 18 . Do not distribute to third parties. •  Available service components: •  BPEL processes for orchestration •  Business rules for business decisions •  Human tasks to describe tasks for users or groups to perform •  Mediators to route messages between different components •  Spring to integrate Java components •  Each type of component is supported by a service engine that hosts processing For Oracle employees and authorized partners only.SOA Composite Architecture Service Components •  Service components are building blocks to construct a SOA composite application.

For Oracle employees and authorized partners only. •  WSDL files specify the interface contract between the composite and services or references.SOA Composite Architecture Binding Components •  Binding components establish a connection between SOA artifacts and the external world. © 2013 Oracle Corporation – Proprietary and Confidential 19 . •  Two types of binding components: •  Services provide the outside world with an entry point to the SOA composite application. Do not distribute to third parties. •  References enable messages to be sent from the SOA composite application to external services in the outside world.

SOA Composite Architecture Binding Components •  Web Service (SOAP over HTTP) for connecting to standards-based services •  JCA Adapters to interact with databases. © 2013 Oracle Corporation – Proprietary and Confidential 20 . Do not distribute to third parties. files system and JMS. for example •  B2B to browse metadata and select document definitions for electronic data interchange (EDI) •  ADF-BC to connect to Application Development Framework (ADF) applications using Service Data Objects (SDO) •  Oracle Applications Adapter to integrate with Oracle applications •  BAM to integrate SOA applications with the BAM server •  EJB to integrate SDO parameters or Java interfaces with Enterprise JavaBeans •  Direct Binding to interact with a SOA application or Oracle Service Bus using remote method invocation (RMI) •  HTTP to integrate applications using basic HTTP For Oracle employees and authorized partners only.

© 2013 Oracle Corporation – Proprietary and Confidential 21 . Do not distribute to third parties.SOA Composite Architecture JDeveloper Tool Support Palette of Service Components & Adapters SCA Composite Editor Web services and adapters Mediation Mediation BPEL orchestration Human Tasks Business Rules For Oracle employees and authorized partners only.

Do not distribute to third parties. © 2013 Oracle Corporation – Proprietary and Confidential 22 .Objectives •  Describe how SOA concepts map to implementation in composites and Service Bus •  Describe the components and architecture of SOA Suite •  Use the right components to implement common integration patterns •  Analyze XPath expressions to retrieve elements in an XML document •  Describe how B2B capabilities enable trading partner relationships For Oracle employees and authorized partners only.

message format. Do not distribute to third parties. and location of the service •  ESB provides a mediation layer between services and consumers •  ESB provides a layer of abstraction to mask the complexities of service integration in heterogeneous IT environments Service For Oracle employees and authorized partners only.Enterprise Service Bus Role Service Service Service Service Consumer Service Service Service Consumer Service Service Consumer Enterprise Service Bus Service Service Consumer •  Point-to-point approach is common •  When a service changes all consumers need to be modified •  Consumer needs to honor the protocol. © 2013 Oracle Corporation – Proprietary and Confidential 23 .

© 2013 Oracle Corporation – Proprietary and Confidential 24 . Do not distribute to third parties.Enterprise Service Bus Features •  •  •  •  •  •  •  Endpoint virtualization: consumers are shielded from actual service addresses Routing: ESB selects the service based upon payload content Transformation: map between different protocols and message formats Validation: check integrity of requests and responses Auditing: log requests and response for audits and send alerts Messaging: asynchronous messaging with guaranteed delivery and persistence Composition: aggregate results from several services into a single response For Oracle employees and authorized partners only.

Do not distribute to third parties.Enterprise Service Bus Service Virtualization Application Remote Functionality For Oracle employees and authorized partners only. © 2013 Oracle Corporation – Proprietary and Confidential 25 .

© 2013 Oracle Corporation – Proprietary and Confidential SAP 26 .Enterprise Service Bus Service Virtualization The endpoint problem – even with Web Services Application Service Database Service Application Application EJB Service Service Service Service For Oracle employees and authorized partners only. Do not distribute to third parties.

Do not distribute to third parties. © 2013 Oracle Corporation – Proprietary and Confidential 27 .Enterprise Service Bus Service Virtualization: Location Transparency Isolate from changes to service location Service Bus New Hire Process Host One Before Initialize Benefits Service Route to Host Two Move After Host Two Initialize Benefits Service Shields consumers from the implementation details of underlying service endpoint interfaces thus reducing or eliminating the redevelopment and redeployment impacts for service consumers For Oracle employees and authorized partners only.

0> <2.0> <2. © 2013 Oracle Corporation – Proprietary and Confidential Process Order Service <1.Enterprise Service Bus Service Virtualization: Backwards Compatibility Isolate from changes to service contract/interface Service Bus Customer Portal CSR App <1.0> Transform Message <2. Do not distribute to third parties.0> For Oracle employees and authorized partners only.0> 28 .

and security configuration For Oracle employees and authorized partners only.Oracle Service Bus Key Concepts: Proxy and Business Services •  Proxy Services •  Intermediary between the service consumer and the actual service producer being invoked •  Perform validation. © 2013 Oracle Corporation – Proprietary and Confidential 29 . Do not distribute to third parties. and enrichment before passing request to business service •  Business Services •  Definition of an external service for which OSB is the client •  Includes details like the service interface. transformation. transport.

Do not distribute to third parties.Oracle Service Bus Key Concepts: Message Flow Definition •  Message flow is composed of components that define the logic for routing and manipulating messages as they flow through proxy service •  Proxy service is implemented by a message flow definition •  Nodes are configured to route messages through the message flow. © 2013 Oracle Corporation – Proprietary and Confidential 30 . •  A branch node channels execution based on the values in designated parts of the message or message context. Message Flow •  A route node defines the message destination. The default route node is an echo node that reflects the request as the response For Oracle employees and authorized partners only. •  Message flow elements can be combined in arbitrary ways to form a tree structure. and stages and actions contain rules for processing and transforming messages. one for the request and one for the response. •  A pipeline pair. It can also branch based on the operation invoked. consists of a sequence of stages that specify actions to perform on a message.

Do not distribute to third parties. © 2013 Oracle Corporation – Proprietary and Confidential 31 .Objectives •  Describe how SOA concepts map to implementation in composites and Service Bus •  Describe the components and architecture of SOA Suite •  Use the right components to implement common integration patterns •  Analyze XPath expressions to retrieve elements in an XML document •  Describe how B2B capabilities enable trading partner relationships For Oracle employees and authorized partners only.

© 2013 Oracle Corporation – Proprietary and Confidential 32 . Oracle Database XE is used for development environments and Oracle Database 11g is used for production For Oracle employees and authorized partners only. Do not distribute to third parties.SOA Suite Architecture Big Picture Relational Database Java EE Application Server SOA Suite 11g •  SOA Suite runs inside a Java EE Application Server including Oracle WebLogic and IBM WebSphere •  Typically.

but isn’t supported on WebSphere •  Oracle Event Processing runs in its own JVM and supports complex event processing For Oracle employees and authorized partners only. © 2013 Oracle Corporation – Proprietary and Confidential 33 .SOA Suite Architecture Component View Relational Database Java EE Application Server SOA Suite 11g Event Delivery Network Security SCA BPEL Mediator Rules Adapters Human Task Spring (Java) BAM OSB OEP B2B •  Relational database hosts Meta Data Service (MDS) to store artifacts at designtime and run-time •  Event Delivery Network (EDN) supports publish/subscribe for business events •  Adapters use the J2EE Connector Architecture (JCA) application server standard •  OSB runs in its own WebLogic instance. Do not distribute to third parties.

WebSphere) For Oracle employees and authorized partners only. AQ JMS Human DB Legacy B2B Partners Coherence Cache JavaEE Application Server (WebLogic. Do not distribute to third parties.Unified Service Platform Products BPA Suite REAL-TIME VISIBILITY Enterprise & PROCESSING Modeling Events Alerts Business Monitoring Data Streams ORCHESTRATION BPM Suite Business User Modeling JDeveloper Application Development GOVERNANCE OEP BAM BPEL Process Manager Native Business ROUTING &Rules DATA SERVICES BPEL Workflow Oracle Service Bus Routing Transform Data Integrator ETL & Data Replication Quality MediationCONNECTIVITY Framework Adapters Apps Messaging JMS. © 2013 Oracle Corporation – Proprietary and Confidential Enterprise Manager System GOVERNANCE Monitoring Web Services Manager WS Policies Security Enterprise Repository SOA lifecycle governance Registry UDDI Java JRockit & HotSpot 34 .

AQ JMS Human DB Legacy B2B Partners Coherence Cache JavaEE Application Server (WebLogic.Unified Service Platform SOA Suite 11g Product Packaging BPA Suite REAL-TIME VISIBILITY Enterprise & PROCESSING Modeling Events Alerts Business Monitoring Data Streams ORCHESTRATION BPM Suite Business User Modeling JDeveloper Application Development GOVERNANCE OEP BAM BPEL Process Manager Native Business ROUTING &Rules DATA SERVICES BPEL Workflow Oracle Service Bus Routing Transform Data Integrator ETL & Data Replication Quality MediationCONNECTIVITY Framework Adapters Apps Messaging JMS. Do not distribute to third parties. © 2013 Oracle Corporation – Proprietary and Confidential Enterprise Manager System GOVERNANCE Monitoring Web Services Manager WS Policies Security Enterprise Repository SOA lifecycle governance Registry UDDI Java JRockit & HotSpot 35 . WebSphere) For Oracle employees and authorized partners only.

© 2013 Oracle Corporation – Proprietary and Confidential 36 . Do not distribute to third parties.Objectives •  Describe how SOA concepts map to implementation in composites and Service Bus •  Describe the components and architecture of SOA Suite •  Use the right components to implement common integration patterns •  Analyze XPath expressions to retrieve elements in an XML document •  Describe how B2B capabilities enable trading partner relationships For Oracle employees and authorized partners only.

Basic Components of a SOA Infrastructure BPEL RULES ENGINE WEBWEB SERVICE SERVICE WEB SERVICE IF ESB IF •  Build/Reuse Services Web Services B2B •  Connect Adapters LEGACY SYSTEM •  Route & Transform Service Bus & B2B •  Externalize business rules Rules Engine •  Orchestrate BPEL Engine HUMAN WORKFLOW LEGACY SYSTEM •  Involve Humans Human Workflow Engine •  Secure Global Security Framework •  Visualize Business Activity Monitoring For Oracle employees and authorized partners only. Do not distribute to third parties. © 2013 Oracle Corporation – Proprietary and Confidential 37 .

Do not distribute to third parties.Example: Order Processing Task Capability Accept purchase order coming over SOAP Web Services Binding Publish event based upon order arrival BPEL / Mediator / EDN Route it for fulfillment Mediator / Service Bus Orchestrate fulfillment tasks BPEL Request human approval Human Workflow Externalize approval rules Rules Log results to file File Adapter Receive event triggered by order fulfillment BPEL / Mediator / EDN For Oracle employees and authorized partners only. © 2013 Oracle Corporation – Proprietary and Confidential 38 .

© 2013 Oracle Corporation – Proprietary and Confidential 39 .Objectives •  Describe how SOA concepts map to implementation in composites and Service Bus •  Describe the components and architecture of SOA Suite •  Use the right components to implement common integration patterns •  Analyze XPath expressions to retrieve elements in an XML document •  Describe how B2B capabilities enable trading partner relationships For Oracle employees and authorized partners only. Do not distribute to third parties.

sequence manipulation …). date and time comparison. selecting nodes based upon a variety of criteria •  Provides over 100 built-in functions (string. numbers. Do not distribute to third parties. or Boolean) from content of an XML document. node and QName manipulation. and provides the ability to navigate around the tree. For Oracle employees and authorized partners only. •  Based on a tree representation of the XML document. © 2013 Oracle Corporation – Proprietary and Confidential 40 .What is XPath? •  Query language for selecting nodes from an XML document •  May be used to compute values (strings. numeric and Boolean values.

underlying data mapping and transformation capabilities •  BPEL XPath Examples •  Assign •  Switch •  Mediator XPath Examples •  Conditions •  Transformations •  User is shielded from having to create raw XPath syntax due to powerful JDeveloper features like Expression Builder •  Having a familiarity with XPath helps you better utilize the JDeveloper features and helps with troubleshooting For Oracle employees and authorized partners only. © 2013 Oracle Corporation – Proprietary and Confidential 41 . Do not distribute to third parties.XPath in SOA Suite •  XPath appears in the definition of many SOA artifacts like BPEL processes and Mediators •  XPath provides the powerful.

Do not distribute to third parties. © 2013 Oracle Corporation – Proprietary and Confidential 42 .XPath in SOA Suite BPEL Models Switch performing a comparison BPEL Source BPEL Design Assign performing multiplication For Oracle employees and authorized partners only.

© 2013 Oracle Corporation – Proprietary and Confidential 43 . Do not distribute to third parties.XPath in SOA Suite BPEL Models Expression Builder BPEL Design Use the Expression Builder tooling to pick items from panels and build the underlying XPath expression or enter expression directly into Expression area For Oracle employees and authorized partners only.

© 2013 Oracle Corporation – Proprietary and Confidential 44 . Do not distribute to third parties.XPath in SOA Suite Mediator Components SOA Composite Mediator Definition XPath expressions for routing and transformation For Oracle employees and authorized partners only.

XPath in SOA Suite Mediator Components Expression Builder Mediator Definition Using the Expression Builder tooling to build the condition for a static routing rule For Oracle employees and authorized partners only. Do not distribute to third parties. © 2013 Oracle Corporation – Proprietary and Confidential 45 .

XPath in SOA Suite Mediator Components Mediator Definition Using the Mapper to build transformation mappings between source and target data structures Mapper For Oracle employees and authorized partners only. © 2013 Oracle Corporation – Proprietary and Confidential 46 . Do not distribute to third parties.

© 2013 Oracle Corporation – Proprietary and Confidential 47 . Do not distribute to third parties.XPath in SOA Suite Mediator Components Mapper Source Mapper XPath syntax generated by Mapper for XSLT to support a transformation For Oracle employees and authorized partners only.

 no  ma7er  where  they   are  under  the  purchaseOrder  element   /purchaseOder/*    Selects  all  the  child  nodes  of  the  purchaseOrder   element   //*      Selects  all  elements  in  the  document   For Oracle employees and authorized partners only.XPath Expression Fundamentals Selecting Nodes purchaseOrder      Selects  all  nodes  with  the  name  “purchaseOrder“   /purchaseOrder      Selects  the  root  element  puchaseOrder   purchaseOrder  /items    Selects  all  items  elements  that  are  children   of  purchaseOrder   //items    Selects  all  items  elements  no  ma7er  where  they  are  in  the   document   purchaseOrder//items    Selects  all  items  elements  that  are   descendant  of  the  purchaseOrder  element. Do not distribute to third parties. © 2013 Oracle Corporation – Proprietary and Confidential 48 .

00   /purchaseOrder/items/item[USPrice>300. © 2013 Oracle Corporation – Proprietary and Confidential 49 .   /purchaseOrder/items[last()]    Selects  the  last  items  element  that  is   the  child  of  the  purchaseOrder  element   /purchaseOrder/items  [last()-­‐1]    Selects  the  last  but  one  items   element  that  is  the  child  of  the  purchaseOrder  element   /purchaseOrder/items[posiFon()<3]      Selects  the  first  two  items   elements  that  are  children  of  the  purchaseOrder  element   //item[@partNum]    Selects  all  the  item  elements  that  have  an   a7ribute  named  partNum   //item[@partNum]=‘FX-­‐123’]    Selects  all  the  item  elements  that  have   an  a7ribute  named  partNum  with  a  value  of  ‘FX-­‐123'   /purchaseOrder/items/item[USPrice>300.00]  Selects  all  the  item   elements  of  the  items  element  that  have  a  USPrice  element  with  a   value  greater  than  300. Do not distribute to third parties.XPath Expression Fundamentals Predicates Predicates:   /purchaseOrder/items[1]      Selects  the  first  items  element  that  is  the   child  of  the  purchaseOrder  element.00]/productName    Selects   all  the  item  elements  of  the  items  elements  of  the  purchaseOrder   element  that  have  a  USPrice  element  with  a  value  greater  than   300.00   For Oracle employees and authorized partners only.

© 2013 Oracle Corporation – Proprietary and Confidential 50 .XPath Expression Fundamentals Selecting Multiple Paths //items/item/productName  |  //items/item/USPrice    Selects  all  the   productName  and  USPrice  elements  of  all  item  elements     //productName  |  USPrice    Selects  all  the  productName  and  USPrice   elements  in  the  document   /purchaseOrder/items/item/productName  |  //USPrice    Selects  all   the  product  Name  elements  of  the  item  element  of  the  items   element  of  the  purchaseOrder  element  and  all  the  USPrice  elements   in  the  document   For Oracle employees and authorized partners only. Do not distribute to third parties.

Do not distribute to third parties.XPath Expression Fundamentals Location Paths child::items      Selects  all  items  nodes  that  are  children  of  the  current   node   a7ribute::partNum    Selects  the  partNum  a7ribute  of  the  current   node   child::*    Selects  all  element  children  of  the  current  node   a7ribute::*    Selects  all  a7ributes  of  the  current  node   child::text()      Selects  all  text  node  children  of  the  current  node   child::node()    Selects  all  children  of  the  current  node   descendant::items    Selects  all  items  descendants  of  the  current  node   ancestor::item    Selects  all  item  ancestors  of  the  current  node   ancestor-­‐or-­‐self::items      Selects  all  items  ancestors  of  the  current   node  -­‐  and  the  current  as  well  if  it  is  a  items  node   For Oracle employees and authorized partners only. © 2013 Oracle Corporation – Proprietary and Confidential 51 .

© 2013 Oracle Corporation – Proprietary and Confidential 52 . Do not distribute to third parties.Objectives •  Describe how SOA concepts map to implementation in composites and Service Bus •  Describe the components and architecture of SOA Suite •  Use the right components to implement common integration patterns •  Analyze XPath expressions to retrieve elements in an XML document •  Describe how B2B capabilities enable trading partner relationships For Oracle employees and authorized partners only.

What is B2B? •  Commerce transactions between businesses (like between manufacturer and wholesaler) •  Distinguished from B2C (Business-to-Consumer) and B2G (Business-toGovernment) eCommerce transactions •  Typically involve high volume and large payloads •  Oracle B2B is an eCommerce gateway that enables secure and reliable exchange of business documents between an enterprise and its trading partners •  Oracle B2B used as a binding component within an Oracle SOA Suite composite application •  End-to-end B2B business processes can be modeled and implemented For Oracle employees and authorized partners only. © 2013 Oracle Corporation – Proprietary and Confidential 53 . Do not distribute to third parties.

•  BPEL Process Manager receives the PO from Mediator. •  B2B receives the PO from Mediator. The PO is translated to canonical XML through XSLT Mapper. For Oracle employees and authorized partners only. •  Mediator receives the PO from BPEL Process Manager. and error handling are applied before BPEL Process Manager sends the PO back to the Mediator. The PO is transformed from canonical XML to the target XML through XSLT Mapper and then routed to B2B. •  BAM monitors the end-to-end process.Leveraging B2B with SOA •  Oracle E-Business Suite initiates the PO process. translates the PO to EDI native format. business rules. and manages the interaction with the trading partner. •  Mediator receives the PO from E-Business Suite. Business processes such as human workflow. •  Mediator routes the message to BPEL Process Manager. The PO document uses the application-generated XML. Do not distribute to third parties. © 2013 Oracle Corporation – Proprietary and Confidential 54 .

HTTP (HTTP 1. RosettaNet-01. HTTPS 1.0. EDI EDIFACT (all versions).1).0. S/MIME 3. AS2-1.0. File. NCPDP Telecom.10. FTP and SFTP (SSH FTP). HL7 (all versions).0.0. IMAP 1. MLLP-1. POP3). Custom (non-XML). RosettaNet PIP business documents. Generic TCP For Oracle employees and authorized partners only. Generic Email-1. XML digital signature (XMLDSig).0. Do not distribute to third parties.Protocols Supported by Oracle B2B •  Document : Custom (user-defined).0.0.0.0.0.1. SOAP. Generic HTTP-1.0. Email (SMTP 1.Generic File-1. Generic JMS-1. ebMS-2. EDI X12 (all versions). Positional flat file (includes SAP iDoc).0.0 (ebXML Messaging Service). JMS.0.1) and HTTPS (HTTPS 1. UCCnet.0.0. HTTP 1. Generic FTP-1.0. Generic AQ-1. TCP/IP •  Messaging Exchange: AS1-1. ebMS-1. RosettaNetV02. EDIEL •  Packaging: MIME 1. © 2013 Oracle Corporation – Proprietary and Confidential 55 . S/MIME 2. Generic SFTP-1. XML encryption (XMLEncrypt) •  Transport: AQ.00. OAG.

© 2013 Oracle Corporation – Proprietary and Confidential 56 . Do not distribute to third parties.Objectives Summary •  Describe how SOA concepts map to implementation in composites and Service Bus •  Describe the components and architecture of SOA Suite •  Use the right components to implement common integration patterns •  Analyze XPath expressions to retrieve elements in an XML document •  Describe how B2B capabilities enable trading partner relationships For Oracle employees and authorized partners only.

Do not distribute to third parties. © 2013 Oracle Corporation – Proprietary and Confidential 57 .For Oracle employees and authorized partners only.

and may not be incorporated into any contract. and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. release. It is not a commitment to deliver any material. For Oracle employees and authorized partners only. or functionality. Do not distribute to third parties. and should not be relied upon in making purchasing decisions. © 2013 Oracle Corporation – Proprietary and Confidential 58 .The preceding is intended to outline our general product direction. code. It is intended for information purposes only. The development.

Do not distribute to third parties.For Oracle employees and authorized partners only. © 2008 Oracle Corporation – Proprietary and Confidential 59 .