Beruflich Dokumente
Kultur Dokumente
D58786GC10
Edition 1.0
September 2010
D61581
Copyright 2009, 2010, Oracle and/or its affiliates. All rights reserved.
Bijoy Choudhury
Disclaimer
Swarnapriya Shridhar
Technical Contributors
and Reviewers
Cathy Lippert
Dave Berry
Holger Dindler Rasmussen
Heidi Buelow
Demed L'Her
Prasen Palvankar
Tom Hardy
David Shaffer
James Mills
Jai Kasi
Magnus Kling
Mathias Kullberg
Matthew Slingsby
Vasiliy Strelnikov
Vikas Jain
Glenn Stokol
Pete Laseau
Nagavalli Pataballa
William Prewitt
Editors
Vijayalakshmi Narasimhan
Daniel Milne
Arijit Ghosh
Graphic Designers
Rajiv Chandrabhanu
Satish Bettegowda
Publishers
Giri Venugopal
Michael Sebastian Almeida
Jobi Varghese
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.
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 Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Authors
Introduction
Course Objectives I-2
Course Agenda: Day 1 I-3
Course Agenda: Day 2 I-4
Course Agenda: Day 3 I-5
Summary I-6
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Contents
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
vii
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Glossary
xi
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Appendix A
Practices and Solutions
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Table of Contents
The goal of the course practices is to progressively build the Purchase Order Processing
SOA composite application.
Purchase Order Processing SOA Composite Application (POProcessingComposite)
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Practices Overview
The goal of the practices in this lesson is to investigate and identify the various business
processes that you can define and associate with the purchase order processing
application. Deduce a workflow diagram by segregating different task and business
processes in a sequential flow for the purchase order processing business process
scenario.
In this practice, you specify the missing links in the given processes workflow diagram
for the purchase order processing business process scenario.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
In this practice, you specify the missing links in the purchase order processing business
process workflow diagram.
The POProcessingComposite SOA composite is described in the following sequence of
steps.
1. Details of the purchase order are received.
2. Small order quantities (quantity less than 10 units) are approved automatically.
3. Large order quantities (quantities greater than or equal to 10 units) pass through a
validation and approval process (where the customers credit card status is
validated).
4. If the credit card status is invalid, the order is rejected and the status information
is written to a text file.
5. If the credit card status is valid, the total order amount is evaluated.
6. If the total order amount is less than $5000, the order is auto-approved and the
order details are written to the text file.
7. If the order amount is greater than or equal to $5000, the order passes through a
manual approval process.
8. If the status of the manual approval is approved, the order details are written to
a text file with the status approved.
9. If the status of the manual approval is rejected, the status detail (rejected) is
written to the text file.
Based on the application description, fill in the missing business process links (annotated
with question marks) in the following business process flow diagram.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
New
Order
Status=approved
Text
File
>= 10
invalid
Status
Status=invalidCreditCard
?
Get
Amount
Amount
?
Status=approved
>= $5000
Approval
Approved
Status = ?
Rejected
Status=rejected
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
New
Order
Check
Quantity
< 10
Status=approved
Text
File
>= 10
Get Credit
Card Status
invalid
Status
Status=invalidCreditCard
valid
Get
Amount
Amount
< $5000
Status=approved
>= $5000
Get
Manual
Approval
Approval
Approved
Status=approved
Rejected
Status=rejected
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
The goal of the practices for this lesson is to set up the practice development
environment. In this practice, you start Oracle JDeveloper 11g in the Windows
environment and configure appropriate connections to Oracle WebLogic Server.
In this practice set, you perform the following key tasks:
1. Create an application server connection in JDeveloper to WebLogic Server.
2. Browse an existing SOA composite application in JDeveloper.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
In this practice, you create an Application Server connection for your SOA Server to
enable you to deploy SOA Composite application projects and other services. To
complete this task, perform the following steps:
1) Start the WebLogic Administration server by double-clicking the Start WebLogic
Admin Server icon on the desktop and wait until the server is started. You can verify
this when you see the text similar to the following display in the terminal window:
<Jun 16, 2009 12:59:43 AM EDT> <Notice> <WebLogicServer> <BEA000360> <Server started in RUNNING mode>
2) Start the SOA Server (managed server), by double-clicking the Start SOA Server icon
on the desktop, wait until the server is started. You can verify this when you see the
text similar to the following display in the terminal window:
INFO: FabricProviderServlet.stateChanged SOA Platform is
running and accepting requests
3) On the Desktop, double-click the JDeveloper 11g desktop icon to start JDeveloper.
4) On the Migrate User Settings window, click No.
5) On the JDeveloper window, click the View > Resource Palette menu.
6) On the JDeveloper Resource Palette window, click the New (icon) > New Connection
> Application Server
7) On the Create Application Server Connection wizard pages, enter the information
specified in the following table:
Step Screen/Page Description
a.
Create Application Server
Choices or Values
On the Name and Type page enter:
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Choices or Values
Connection Name:
MyApplicationServerConnection
b.
c.
d.
Note: Use the following screenshots if required as a guide supporting steps described
in the preceding table of instructions:
a)
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
c)
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
In this practice, you open an existing SOA composite application in JDeveloper and
identify the various service components. In order to open an existing application in
JDeveloper, execute the following steps:
1) In the Application Navigator pane, click Open Application (or you can select File >
Open).
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
4) You see the application files and artifacts in the Application Navigator pane. Doubleclick composite.xml in the Application Navigator pane to open the SOA
Composite editor.
5) View the SOA composite service component (a single BPEL process) and the
exposed service in the SOA Composite editor. Also view the SOA service
components and service adapters in the Component palette.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
b) In the Confirm Close Application dialog box, select the Close application and
remove it from IDE option and click OK.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
In this practice, you work on a set of paper-based questions that covers service life-cycle
management and SOA governance.
Select the most appropriate option or options for the following questions:
1. Service life-cycle management ensures:
a. Service reusability and versioning
b. Quality, performance, and proper usage of services
c. Service visibility
d. Web service development
2. What is the need for service life-cycle management?
a. Ensures flexible categorization of services
b. Enables reporting on key metrics
c. Ensures proper use of services
d. Enables automated capture of business processes and services
3. Which two governance disciplines is SOA governance an extension of?
a. IT governance
b. EA governance
c. Corporate governance
d. Service governance
4. SOA governance is needed because it:
a. Ensures that project investments yield business value
b. Controls dependencies, manages the impact of change, and enforces
policies
c. Promotes consolidation, standardization, and reuse thus enabling cost
saving
d. All of the above
5. Identify the characteristics of service management
a. Centralized configuration and monitoring
b. Policy-based routing and security
c. Service registration, versioning, and discovery
d. Build and compose service
6. Service directory can be defined as the place where:
a. Services are registered
b. Services are routed
c. Orchestration of service takes place
7. Service policy specifies:
a. Authentication
b. Authorization
c. Encryption
d. Message-level security
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
3 - a, b
4-d
5 - a, b, and c
6-a
7 - a, b, c, and d
8 - a, c
9-b
10 - c
11 - a
12 - d
Services are the basic building blocks for an SOA implementation. The service interface
is defined and described by using Web Service Definition Language (WSDL). The
message structures for communicating the required data between a service client and
service operation are defined and based on the types expressed in an XML schema
document (XSD).
The goal of the practices in this lesson is to modify an XSD and a WSDL document by
using Oracle JDeveloper 11g IDE.
Your tasks in this practice set are as follows:
1. Modify a schema document by using the XSD editor in JDeveloper.
2. Modify a WSDL document by using the WSDL editor in JDeveloper.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
In this practice, you modify an XSD schema by using Oracle JDeveloper 11g.
1) Launch Oracle JDeveloper 11g (if not already open).
Hint: Double-click the JDeveloper icon on the desktop to launch JDeveloper.
2) Open the Application_04.jws workspace in JDeveloper.
a) From the File menu, select Open.
b) Navigate to the D:\labs\Application_04 directory. Select
Application_04.jws and click the Open button.
c) View the projects, files, and directories of the Application_04.jws workspace
in the Application Navigator pane.
3) Open and modify the response.xsd schema by using JDeveloper XSD Visual
editor.
a) In the Application Navigator pane, expand CreditCardValidation > Resources.
b) Double-click response.xsd to open it in the XSD Visual editor pane.
c) Ensure that the Schema Components option is selected in the Component palette
drop-down list.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
d) Click and drag a sequence component from the Component palette to the output
complex type in the XSD Visual editor pane.
e) Click and drag an element component from the Component palette, and add it to
the sequence.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
f) Right-click the element component in the XSD Visual editor pane and select Go
to Properties from the shortcut menu.
g) In the Property Inspector pane, enter the following values for the respective fields:
name: args0
type: xsd:string
Press Enter to accept the values.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
b) In the Messages-Log pane, verify that the schema has neither errors nor warnings.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
In this practice, you modify a WSDL document by using Oracle JDeveloper 11g.
1) Double-click WSDLDocument.wsdl to open it in the WSDL editor pane.
2) Modify and add the following components in the WSDL document.
a) Add an XSD schema:
i) In the WSDL editor pane, click the Schema tab (which is at the bottom of the
pane).
iii) Click and drag an import component from the Component palette to the
<schema> node in the WSDL editor pane.
iv) Select the import component, and in the Property Inspector pane, enter the
following values for the respective fields:
schemaLocation: response.xsd
namespace: http://www.example.org
Press Enter to accept the values.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
b) Add a message:
i) In the WSDL editor pane, click the Design tab (which is at the bottom of the
pane).
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
iv) In the Create Message dialog box, enter the Message Name as
messageOutput and click OK.
vi) Click and drag a part component from the Component palette to the
messageOutput node in the WSDL editor pane.
vii) In the Create Part dialog box, enter the following values and click OK:
Part Name: parameters
Reference Type: element
Reference value: tns:response
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
viii) Verify that the message node looks like the following screenshot:
c) Add an operation:
i) In the Port Types box of the WSDL editor pane, click and drag an operation
component from the Component palette to the
ValidateCreditCardService node.
ii) In the Create Operation dialog box, enter the following values and click OK:
Operation Name: ValidateCreditCard
Operation Type: Request Response
Input: ns:messageInput
Output: ns:messageOutput
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
iii) Expand the ValidateCreditCard node and its subsequent nodes to view
the structure.
d) Add a binding:
icon on the Bindings/Partner Links Types box of the WSDL
i) Click the
editor pane.
ii) In the Create Binding dialog box, deselect the SOAP11 option and select the
SOAP12 option.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
iii) In the SOAP12 section, specify the following values for the respective fields
and click OK.
Binding Name: ValidateCreditCardServiceSOAP12Binding
Message Encoding: Document/Literal
e) Add a service:
i) Click the
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
ii) In the Create Service dialog box, enter the service name as
ValidateCreditCardService and click OK.
iii) Click and drag a port component from the Component palette to the
ValidateCreditCardService node.
iv) In the New Port dialog box, specify the following values for the respective
fields and click OK.
Port Name: ValidateCreditCardServiceSoap12HttpPort
Binding Name: ns:ValidateCreditCardServiceSOAP12Binding
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
vi) Click and drag a soap12:address component from the Component palette to
the ValidateCreditCardServiceSoap12HttpPort node in the WSDL
editor pane.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
b) In the Messages Log pane, verify that the WSDL document has neither errors
nor warnings.
5) Close the Application_04 workspace and remove it from the JDeveloper IDE.
a) From the Application menu, select Close Application.
b) In the Confirm Close Application dialog box, select the first option (Close
application and remove it from IDE) and click OK.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
The goal of the practices in this lesson is to create the basic infrastructure on which you
start the development of the POProcessingComposite SOA composite application. You
use the Oracle JDeveloper 11g integrated development environment (IDE) to develop the
SOA composite.
In this practice set, you perform the following tasks (annotated in the following
screenshot):
1. Deploy a prebuilt SOA composite to Oracle SOA Suite 11g.
2. Create an SOA composite application workspace.
3. Add a service interface to the SOA composite.
4. Add an external reference to the SOA composite.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
b) In the SOA Deployment Configuration dialog box, verify that the SOA server is
selected (soa_server1). Accept the default composite revision ID and click OK.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
c) In the Authorization Request dialog box, enter weblogic in the Username field
and welcome1 in the Password field. Click OK.
d) View the Deployment Log pane to verify that the deployment is successful.
3) Close the Application_02 workspace and remove it from the JDeveloper IDE.
a) From the Application menu, select Close Application.
b) In the Confirm Close Application dialog box, select the first option (Close
application and remove it from IDE) and click OK.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
In this practice, you create an application workspace and an SOA project by using Oracle
JDeveloper 11g.
4) Create a new application workspace.
a) From the File menu, select New.
b) In the New Gallery dialog box, select Applications in the Categories pane and
Generic Application in the Items pane. Click OK.
c) In the Create Generic Application dialog box, enter the following information and
click Finish.
Application Name: Application_05
Directory: D:\labs\Application_05
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
d) You see a default project in the Applications Navigator pane. Delete the default
project by executing the following steps:
i) Right-click the project and select Delete Project from the shortcut menu.
ii) In the Confirm Delete Project dialog box, select the Remove project and
delete all of its contents (including secure directories) option (you can press
d to select this option), and then click Yes.
iii) Click Yes in the Confirm Project Contents Delete dialog box.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
b) In the New Gallery dialog box, select SOA Project in the Items pane. Click OK.
c) In the Create SOA Project Step 1 of 2 dialog box, enter the following
information and click Next.
Project Name: POProcessingComposite
Directory: D:\labs\Application_05\POProcessingComposite
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
d) In the Create SOA Project Step 2 of 2 dialog box, select the Empty Composite
option in the Composite Template list box and click Finish.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
e) The new, empty SOA composite should look like the following screenshot:
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
In this practice, you add and configure a service interface to the POProcessingComposite
SOA composite. This service interface enables any client application to interact with the
SOA composite.
1) Ensure that the SOA option is selected in the Component palette drop-down list.
2) Click and drag a Web Service component from the Component palette to the Exposed
Services column in the SOA Composite editor pane.
3) Configure the service interface. Use the following details to accomplish this task:
Step Screen/Page
Description
a.
Create Web
Service
Choices or Values
b.
Create
WSDL
Click the browse for schema files icon (next to the URL
text field).
c.
d.
Import
Schema File
e.
SOA
Resource
Browser
Import
Schema File
Click OK.
f.
Name: receivePO
Type: Service
WSDL URL: Click the Generate WSDL from schema(s)
icon.
schemas\PurchaseOrder.xsd.
Click OK.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
g.
h.
i.
Create
WSDL
Create Web
Service
j.
Click OK.
Click OK.
a)
b)
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
d)
e)
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
g)
h)
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
j)
In this practice, you add and configure an external Web service reference to the SOA
composite.
1) Add a Web service reference to the SOA composite.
a) Ensure that the SOA option is selected in the Component palette drop-down list.
b) Click and drag a Web Service component from the Component palette to the
External References column in the SOA Composite editor pane.
2) Configure the Web service reference. Use the following details to accomplish this
task:
Step Screen/Page Choices or Values
Description
a.
Create Web Name: getCreditCardStatus
Service
Type: Reference
WSDL URL: Click the Find existing WSDLs icon.
b.
SOA
Select Resource Palette from the list.
Resource
Browser
c.
SOA
Expand Application Server > MyApplicationServerConnection >
Resource
SOA > ValidateForCC [1.0], and select
Browser
creditcardstatus_ep.
Click OK.
d.
Create Web Click OK.
Service
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
b)
c)
a)
d)
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
The goal of the practices in this lesson is to make yourself familiar with the Oracle
Enterprise Manager 11g Fusion Middleware Control console with respect to managing
and testing the SOA composites application deployed to the Oracle SOA Suite 11g.
In this practice set, you perform the following tasks:
1. Test the CreditCardValidation SOA composite that you deployed in the previous
practice set by using the Oracle Enterprise Manager 11g Fusion Middleware
Control console.
2. View the SOA composites instance details, the message flow, and the audit trail
of the SOA composite.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
In this practice, you test the CreditCardValidation SOA composite, deployed to the
Oracle SOA Suite 11g instance, by using the Oracle Enterprise Manager 11g Fusion
Middleware Control console.
1) Test the CreditCardValidation (ValidationForCC) SOA composite with a set of input
parameters.
a) Log in to the Oracle Enterprise Manager 11g Fusion Middleware Control console.
i) Open a Web browser (Mozilla Firefox), and enter the following URL in the
address field:
http://localhost:7001/em
ii) You see the login page of the Oracle Enterprise Manager 11g Fusion
Middleware Control console. Enter the following credentials and click Login.
User Name: weblogic
Password: welcome1
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
ii) Click the ValidationForCC [1.0] link to see the application details in the right
pane.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
iv) On the Test Web Service page, scroll down to the Input Arguments section.
Enter the test value in the input parameter as 1234-1234-1234-1234.
v) Click the Test Web Service button.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
3) Execute the test case again with a different credit card number (1234-1234-12340000), and verify that the result field shows the INVALID credit card status.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
In this practice, you view the CreditCardValidation SOA composite instance details and
the composites flow of message through various composite and component instances.
1) View the CreditCardValidation SOA composites instance.
a) Click the ValidationForCC [1.0] link in the left pane of the browser dialog box.
b) Click the Instances tab on the ValidationForCC [1.0] page. You see the SOA
composites instance.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
c) Click the Flow tab to view the BPEL flow. Click a BPEL activity to view the
details.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
The goal of the practices in this lesson is to create the routePO Mediator service
component. The client that interacts with the SOA composite makes a new purchase
order request to the POProcessingComposite by using the receivePO Web service
interface. The routePO Mediator routes the order request to a text file (order_n.txt)
by using the WriteApprovalResults File adapter.
Often, you have an application or some GUI-based front end to invoke and test a service;
however, usually, when you start developing your services, you do not have any client
application to test them. The Oracle Enterprise Manager 11g Fusion Middleware Control
console allows you to run your service with any input, so you can test it at any time.
In this practice set, you perform the following tasks:
1. Create a Mediator service component to route the purchase order to a text file.
2. Add routing rules and map the order request to the text file.
3. Deploy and test the SOA composite in Oracle SOA Suite 11g.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
c) In the Create Mediator dialog box, specify the following options and click OK.
Name: routePO
Template: Define Interface Later
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
3) Add a File adapter to the composite to write new purchase order data in a text file.
a) Drag a File Adapter component from the Component palette to the External
References column in the SOA Composite editor pane.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
f.
Messages
g.
h.
Import
Schema File
i.
SOA
Resource
Browser
Navigate to D:\labs\Application_Files\
schemas and select Order.xsd.
j.
Import
Schema File
Click OK.
k.
l.
m.
Messages
Click Next.
n.
Finish
Click Finish.
Click OK.
b)
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
d)
e)
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
g)
h)
i)
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
k)
l)
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
In this practice, you create the mapping between the inbound purchase order and the
order format that you log to the order_n.txt text file.
1) Create a mapping between the service interface and the file adapter.
a) In the SOA Composite editor, double-click the Mediator component to open the
Mediator editor pane.
b) In the Mediator editor pane, under the Routing Rules section, click the Select an
existing mapper file or create a new one icon (for the
WriteApprovalResults::Write target service operation).
c) In the Request Transformation Map dialog box, select the Create New Mapper
File option. Enter receiveOrder_To_writeOrder.xsl in the Create New
Mapper File text field, and click OK.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
d) In the XSLT Mapper pane, drag Purchase Order from the sources side to Order on
the target side. You will be prompted for auto-mapping preferences.
e) In the Auto Map Preferences dialog box, perform the following steps:
i) Deselect the Match Elements Considering their Ancestor Names check box
and click Show Dictionaries.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Note: You use a dictionary created by business analysts that lists common
synonyms in use across data objects (such as qty being used instead of
quantity, and custID instead of customerID). The dictionary is not
mandatory, and even without it, the auto-mapping feature identifies and enables
mapping of these fields. However, a dictionary, customized to a specific company
helps improve its accuracy.
f) Verify that the resultant mapping looks like the following screenshot:
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
g) Save and close both the mapping and the Mediator editor to return to the
composite.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
c) View the Deployment Log pane to verify that the deployment was successful.
2) Test the POProcessingComposite SOA composite with a set of predefined input
parameters.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
a) Log in to the Oracle Enterprise Manager 11g Fusion Middleware Control console.
b) Test the POProcessingComposite SOA composite.
i) On the Oracle Enterprise Manager 11g Fusion Middleware Control page, you
see two vertical panes. In the left pane, you see the domain and, under it, a list
of folders. Expand the SOA > soa-infra (soa_server1) folder. You see
POProcessingComposite.
ii) Click the POProcessingComposite link to see the application details in the
right pane.
iii) Click the Test button on the POProcessingComposite page.
iv) In the Test Web Service page, scroll down to the Input Arguments section and
select XML View from the drop-down list. Delete the existing XML code in
the text area in the XML view.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
vi) On the Test Web Service page, paste the XML code in the text area of the
XML view.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
i) In the Test Web Service page, on the Response tabbed subpage, verify that the
Test Status is Passed.
Note: The Test Web Service page does not show any response because this is
a one-way invocation with no reply or callback.
ii) Click the POProcessingComposite link in the left pane of the browser dialog
box. You see that an instance has been added under the Recent Instances
section.
iii) Click the Instance ID to see the flow trace of the composite.
iv) In the Flow Trace page, under the Trace section, verify that the State column
shows Completed for the service, component, and reference.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
v) You can also verify the result by opening the text file that has been created by
the File adapter service at the
D:\labs\Application_Files\testResults directory (a link is created
on the desktop with the name, Test Results) with a text editor. Notice how
field names have been translated by the mapping and are different from the
input.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
The goal of the practices in this lesson is to add and create the approveLargeOrder
BPEL process in the POProcessingComposite. The BPEL process validates the clients
credit card number by invoking an external Web service
(CreditCardValidationService). Based on the credit card validation status (valid
or invalid), the BPEL process assigns the appropriate message to the order data, and
sends it to the File adapter (through the routePO Mediator component) to log the order
data.
The routePO Mediator component also performs the content-based routing of the order
request. If the order quantity is less than 10 units, the Mediator directly routes the request
to the File adapter. However, if the order quantity is more than or equal to 10 units, the
Mediator routes the order request to the approveLargeOrder BPEL process.
In this practice set, you perform the following tasks:
1. Create an order approval BPEL process in the POProcessingComposite to process
large orders.
2. Modify the routePO Mediator component in the POProcessingComposite to
enable content-based routing of the order request.
3. Deploy and test the SOA composite in Oracle SOA Suite 11g.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
BPEL Process
The following diagram illustrates the tasks to be performed in this practice set.
In this practice, you create the approveLargeOrder BPEL process that initially verifies
the credit card of the client and then, based on the credit card status, approves or
disapproves the order.
1) Open the Application_08.jws workspace in JDeveloper.
a) From the File menu, select Open.
b) In the Open dialog box, navigate to the D:\labs\Application_08 directory.
Select Application_08.jws and click the Open button.
c) In the Application Navigator pane, expand the POProcessingComposite > SOA
Content folder and double-click composite.xml to open it in the SOA
Composite editor pane.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
c) In the Create BPEL Process dialog box, specify the following options and click
OK.
Name: approveLargeOrder
Template: Asynchronous BPEL Process
Service Name: approvelargeorder_client
Expose as a SOAP Service: Deselect the option
Input: Click the flashlight icon, and in the Type chooser dialog box, expand
Project Schema Files > Order.xsd and select Order.
Output: Click the flashlight icon, and in the Type chooser dialog box, expand
Project Schema Files > Order.xsd and select Order.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
ii) Drag the wire from the Invoke activity to the getCreditCardStatus.
Note: This tells your BPEL process to invoke that service.
iii) In the Edit Invoke dialog box, specify the following and click OK.
Name: invokeCCStatusService
Input Variable: Click the green [+] icon, and click OK to create a new global
variable, accepting the default name and type.
Note: This variable contains the data that will be sent to the service, or the
input to the service.
Output Variable: Click the green [+] icon, and click OK to create a new global
variable, accepting the default name and type.
Note: This variable contains the data that will be returned by the service, or
the output of the service.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
From: Select Variables > Process > Variables > inputVariable > payload >
Order > creditCardInfo > cardNumber
To: Select Variables > Process > Variables >
invokeCCStatusService_execute_InputVariable > payload > process > input
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Note: The second operation enables the BPEL process to return the input data,
as well as some updates, which will be made later in the BPEL process.
viii) The Assign dialog box looks like the following screenshot:
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
ix) Click the green check button in the upper left of the BPEL process to validate
the process. The BPEL process looks like the following screenshot:
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
ii) Double-click the Switch activitys name (which is probably something like
Switch_1) just below the icon and rename it EvaluateCCStatus.
Note: You can also double-click the Switch icon and change the name in the
subsequent dialog box, but if you double-click the text itself you can change
the activity name.
iii) Click the small [+] icon on the Switch activity to expand it.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
f) Add a condition in the Switch activity to compare the data returned from the
getCreditCardStatus service with a string value.
i) Click the View Condition Expression button.
iii) In the Expression Builder dialog box, expand Variables > Process > Variables
> invokeCCStatusService_execute_OutputVariable > payload >
processResponse, and select result (in the BPEL Variables field).
iv) Click the Insert Into Expression button (the wide button under the Expression
field).
Oracle SOA Suite 11g: Essential Concepts A - 88
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
v) In the Expression field, put the cursor at the end and add: ='VALID'
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
vii) Click outside the Condition Expression pop-up window to close it.
g) Add an Assign activity in the <case> part of the Switch activity.
Note: If the condition is true, then BPEL executes any activities in the <case>
part of the switch. If not, any activities in the <otherwise> section are executed.
i) Drag an Assign activity (from the Component palette) into the <case> section
of the Switch activity.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
In this practice, you modify the routePO mediator component to route requests to both
the WriteApprovalResults service and the approveLargeOrder BPEL process.
Moreover, you also add a content-based routing rule to the mediator component
specifying that order quantity under 10 units should be automatically approved while
order quantity greater than or equal to 10 units needs to go through an approval process.
1) Wire the routePO Mediator to the approveLargeOrder BPEL process in the SOA
Composite editor.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Caution: Do not copy-paste this text into the expression, but use the Variables
frame to select the variables. The namespaces (such as, inp1:) may be different
for you.
Hint: Expand the nodes in the Variables section to find the field that you want
and click the Insert Into Expression button to add them.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
c) Click OK.
4) Add the condition specifying that an order quantity more than or equal to 10 units
needs to go through an approval process.
a) In the Mediator editor pane, under the Routing Rules section, click the Invoke
Expression Builder icon (the filter icon) for the
approvelargeorder/client::process target service operation.
b) In the Expression Builder dialog box, build the following expression:
($in.request/inp1:PurchaseOrder/inp1:quantity) >= 10
Caution: Do not copy-paste this text into the expression, but use the Variables
frame to select the variables. The namespaces (such as, inp1:) may be different
for you.
Hint: Expand the nodes in the Variables section to find the field that you want
and click the Insert Into Expression button to add them.
c) Click OK.
5) Set the callback of the asynchronous BPEL process to call the file adapter service.
a) In the Mediator editor pane, click the cog icon (the Browse for target service
icon) next to the <<Target Operation>> field in the Callback section.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
d) Click OK.
6) Add a transformation for routing data from the service interface to the BPEL process.
a) In the Mediator editor pane, click the Select an existing mapper file or create a
new one icon (for the approvelargeorder/client::process target
service operation).
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
b) In the Request Transformation Map dialog box, select the Create New Mapper
File option. Enter receiveOrder_To_approveOrder.xsl in the respective
text field, and click OK.
c) In the XSLT Mapper pane, drag PurchaseOrder from the source side to Order
on the target side. You will be prompted for auto-mapping preferences.
d) In the Auto Map Preferences dialog box, click OK (since you already added the
dictionary earlier).
e) The resulting transformation looks like the following:
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Note: If you are redeploying your application with the same revision number, you
must select the option to overwrite the previous version or enter a new version
(revision ID). Otherwise the deployment will fail.
c) View the Deployment Log pane to verify that the deployment was successful.
2) Test the POProcessingComposite SOA composite with a set of predefined input
parameters.
a) Log in to the Oracle Enterprise Manager 11g Fusion Middleware Control console.
b) Test the POProcessingComposite SOA composite.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
i) On the Oracle Enterprise Manager 11g Fusion Middleware Control page, you
see two vertical panes. In the left pane, you see the domain and under it a list
of folders. Expand the SOA > soa-infra (soa_server1) folder. You see
POProcessingComposite.
ii) Click the POProcessingComposite link to see the application details in the
right pane.
iii) Click the Test button on the POProcessingComposite page.
iv) In the Test Web Service page, scroll down to the Input Arguments section and
select XML View from the drop-down list. Delete the existing XML code in
the text area in the XML view.
v) Open the text file (po-large-iPod.txt) at
D:\labs\Application_Files\test by using any text editor (such as
notepad), and copy the XML code.
vi) On the Test Web Service page, paste the XML code in the text area of the
XML view.
vii) Click the Test Web Service button.
c) Verify the result of testing the POProcessingComposite SOA composite.
i) On the Test Web Service page, under the Response tab, verify that the Test
Status is Passed.
Note: The Test Web Service page does not show any response because this is
a one-way invocation with no reply or callback.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
ii) Click the POProcessingComposite link in the left pane of the browser dialog
box. You see that an instance has been added under the Recent Instances
section.
iii) Click the Instance ID to see the flow trace of the composite.
iv) In the Flow Trace page, under the Trace section, verify that the State column
shows completed for the service, component, and reference.
v) You can also verify the result by opening the new text file (order_n.txt)
that has been created by the File adapter service at the
D:\labs\Application_Files\testResults directory with a text
editor.
3) Retest the SOA Composite using the same input data, but this time, change the credit
card number to 4321-4321-4321-4321, which represents an invalid credit card.
4) Observe the order status in the new text file that has been created by the File adapter
service at the D:\labs\Application_Files\testResults directory. The
invalidCreditCard status is the result of the <switch> statement in the
approveLargeOrder BPEL process.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
The goal of the practices in this lesson is to add and configure a Human Task component
in the POProcessingComposite SOA composite. The ManualPOApproval Human Task
is accessed by the approveLargeOrder BPEL process for manually approving large
orders that have a valid credit card status.
When the Human Task is added to the <case> branch of the EvaluateCCStatus
Switch activity, a taskSwitch activity is also added at the same time as the Human
Task. The taskSwitch is configured with an <otherwise> branch and a <case> branch
for each outcome configured in the Human Task. In this practice, you add activities for
each branch in the taskSwitch.
In addition, by using JDeveloper you generate a simple task form to display purchase
order information in the Worklist application for the assignee approving the order.
In this practice set, you perform the following tasks:
1. Create a Human Task in the POProcessingComposite to manually approve large
orders.
2. Access and configure the Human Task in the approveLargeOrder BPEL
process.
3. Deploy and test the SOA composite in Oracle SOA Suite 11g.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
BPEL Process
The following diagram illustrates the tasks to perform in this practice set.
In this practice, you create and configure the ManualPOApproval Human Task
component in the POProcessingComposite SOA composite.
1) Open the Application_09.jws workspace in JDeveloper.
a) From the File menu, select Open.
b) In the Open dialog box, navigate to the D:\labs\Application_09 directory.
Select Application_09.jws and click the Open button.
c) In the Application Navigator pane, expand the POProcessingComposite > SOA
Content folder and double-click composite.xml to open it in the SOA
Composite editor pane.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
c) In the Create Human Task dialog box, specify the following options and click
OK.
Name: ManualPOApproval
Namespace: Leave as default
4) Create the task definitions for the ManualPOApproval Human Task component.
a) Double-click the ManualPOApproval Human Task component in the SOA
Composite editor to open the Task Definition editor.
b) In the Task Definition editor, specify the following settings:
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
i) Title: Using the expression builder button on the right, enter Approve
Large Order and click OK. You see <%'Approve Large Order'%>
entered as the value.
ii) Description: Manual approval task for large orders
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
iv) In the Type Chooser dialog box, expand Project Schema Files > Order.xsd
and select Order.
v) Click OK.
vi) Select the Editable via worklist option.
vii) Click OK in the Add Task Parameter dialog box.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
ii) In the Add Participant Type dialog box, specify the following:
Type: Single
Label: Large Order Approver
iii) In the Add Participant Type dialog box, click the green [+] sign next to
Participant Names and select Add User.
iv) Accept the default values for the Identification Type and Data Type fields.
Enter weblogic in the Value field.
v) Click OK.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
5) Save and close the Task Definition editor and return to the SOA Composite editor.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
In this practice, you add and configure a Human Task activity in the
approveLargeOrder BPEL process. In the Human Task activity, you select the
ManualPOApproval Human Task component that you added to the
POProcessingComposite SOA composite in the previous practice for implementing the
task definitions.
1) In the SOA Composite editor, double-click the approveLargeOrder BPEL process
to open the BPEL designer.
2) Add a Human Task activity into the <case> branch of the EvaluateCCStatus
Switch activity.
a) Drag a Human Task activity from the Component palette into the <case> branch
of the EvaluateCCStatus Switch activity, below the assignApproval
Assign activity.
b) In the Create Human Task dialog box, select ManualPOApproval from the Task
Definition drop-down list.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Practice 9-2: Accessing the Human Task from the BPEL Process
c) In the Create Human Task dialog box, enter Approve Large Order in the
Task title field.
d) Click the ellipsis [] button to the right of the Order field (under Task Parameter)
to select the BPEL variable that needs to be passed as the input parameter.
e) In the Task Parameters dialog box, ensure that the Type list contains the Variable
option. Then select Variables > Process > Variables > outputVariable > payload >
Order, and click OK.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Practice 9-2: Accessing the Human Task from the BPEL Process
(continued)
3) Add an Assign activity in the <case Task outcome is APPROVE> part of the
taskSwitch Switch activity (if the request is approved). Ensure that you expand the
Switch activity (by clicking the + icon) before adding the Assign activity.
Note: Notice that there are two new activities in the BPEL process: a Human Task
and a Switch activity (taskSwitch). The Human Task handles getting the approval
(or rejection) from users using a Worklist application. The Switch activity is used to
evaluate the results from the Human Task, such as the task being approved, rejected,
withdrawn, or expired.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Practice 9-2: Accessing the Human Task from the BPEL Process
(continued)
Note: The approved case was already created earlier while constructing the
approveLargeOrder BPEL process. Therefore, you can reuse that.
4) Specify the message in the <case Task outcome is REJECT> part of the taskSwitch
Switch activity (if the request is rejected).
a) Double-click the CopyPayloadFromTask Assign activity in the <case Task
outcome is REJECT> branch.
b) Click the green [+] icon and select Copy Operation to open the Create Copy
Operation dialog box, and specify the following details:
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Practice 9-2: Accessing the Human Task from the BPEL Process
(continued)
i) In the From section: Change the Type list to Expression and in the Expression
field, enter 'rejected'.
ii) In the To section: Select Variables > Process > Variables > outputVariable >
payload > Order > status.
c) Click OK.
d) Click OK to return to the BPEL process.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Practice 9-2: Accessing the Human Task from the BPEL Process
(continued)
5) Specify the message in the <otherwise> part of the taskSwitch Switch activity (if
the request is expired).
a) Double-click the CopyPayloadFromTask Assign activity in the <otherwise>
branch.
b) Click the green [+] icon and select Copy Operation to open the Create Copy
Operation dialog box, and specify the following details:
i) In the From section: Change the Type list to Expression and in the Expression
field, enter 'expired'.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Practice 9-2: Accessing the Human Task from the BPEL Process
(continued)
ii) In the To section: Select Variables > Process > Variables > outputVariable >
payload > Order > status.
c) Click OK.
d) Click OK to return to the BPEL process.
6) Create the task form for task details that includes the task payload and actions you
defined in the task.
Note: The task form is an ADF form that is created in a separate project. You can
create a JSF project to manage the task form and point it to the task file that you
create in your composite. When you want a default task form, it is a simple one-click
operation.
a) In the BPEL process, right-click the ManualPOApproval_1 Human Task
activity and select the Auto-Generate Task Form option from the shortcut menu.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Practice 9-2: Accessing the Human Task from the BPEL Process
(continued)
b) Enter ApproveTaskDetail in the project name field for the task form and click
OK. JDeveloper generates the necessary artifacts for the ApproveTaskDetail
project (it may look like nothing is happening at first, but be patient). You see the
task details form (taskDetails1.jspx) open.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Practice 9-2: Accessing the Human Task from the BPEL Process
(continued)
c) Save all and close the task form and task flow dialog box.
7) Save and close the BPEL process.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Practice 9-2: Accessing the Human Task from the BPEL Process
(continued)
b) In the Select Deployment Targets dialog box, select soa_server1 and click OK.
c) View the Deployment Log pane to verify that the deployment was successful.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
vi) In the Test Web Service page, paste the XML code in the text area of the
XML view.
vii) Click the Test Web Service button.
Oracle SOA Suite 11g: Essential Concepts A - 121
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
viii) In the Test Web Service page, on the Response tabbed subpage, verify that the
Test Status is passed.
Note: The Test Web Service page does not show any response because this is
a one-way invocation with no reply or callback.
ix) Click the POProcessingComposite link in the left pane of the browser dialog
box. You see that an instance has been added under the Recent Instances
section.
x) Click the Instance ID to see the flow trace of the composite.
xi) In the Flow Trace page, under the Trace section, notice that the State column
shows the Running status, the Mediator, BPEL, and the Human Workflow
component.
c) Approve the order by using the Oracle BPM Worklist application. Oracle
Worklist application is an application that can be used to view and manage human
tasks.
i) Open a Web browser and log in to the Oracle BPM Worklist application by
specifying the following URL:
http://localhost:8001/integration/worklistapp.
ii) Enter the user name as weblogic and the password as welcome1. Click
Login.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
iii) In the Oracle BPM Worklist page, click the most recent task to highlight it.
The task details page opens it in the lower frame of the work list application.
Note: The first time the task is opened, there will be a delay of a minute while
the pieces of the form are compiled and loaded.
iv) When the form opens, you can see the task details and the different options.
From the Actions menu, select Approve. This submits the task and notifies the
BPEL to continue processing.
Note: You should use the Actions menu to select the task to approve or reject.
If instead, you use the Approve or Reject buttons in the lower part of the
dialog box, the screen will not change even though the task is submitted. Click
the refresh icon at the top left to clear the task from the screen.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
4) Revisit the Oracle Enterprise Manager 11g Fusion Middleware Control console and
refresh the Flow Trace page. You see that the State column shows a Completed status
for all the service components.
5) Observe the order status in the new text file that has been created by the File adapter
service at the D:\labs\Application_Files\testResults directory.
Hint: Check the date and time of the text file to view the most recent file created by
the file adapter.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
6) Execute the same test case again, and reject the order in the Oracle BPM Worklist
application. Verify the result.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
The goal of the practices in this lesson is to add and configure a Business Rule
component in the POProcessingComposite SOA composite. The ManualApproval
Business Rule is accessed by the approveLargeOrder BPEL process to make the
decision of whether the human task is required for manual approval. If the total order
value is more than or equal to $5000, a customer service representative must manually
approve the order.
In this practice set, you perform the following tasks:
1. Create a Business Rule component in the POProcessingComposite to specify the
condition of manually approving only those orders that have the order value of
more than or equal to $5000.
2. Access and configure the Business Rule component in the approveLargeOrder
BPEL process.
3. Deploy and test the SOA composite in Oracle SOA Suite 11g.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
BPEL Process
The following diagram illustrates the tasks to perform in this practice set.
In this practice, you create and configure the ManualApproval Business Rule
component in the POProcessingComposite SOA composite. The business rule enables the
composite to make the decision of whether the human task is required for manual
approval or not.
1) Open the Application_10.jws workspace in JDeveloper.
a) From the File menu, select Open.
b) In the Open dialog box, navigate to the D:\labs\Application_10 directory.
Select Application_10.jws and click the Open button.
c) In the Application Navigator pane, expand the POProcessingComposite > SOA
Content folder and double-click composite.xml to open it in the SOA
Composite editor pane.
2) Add a Business Rule component to the POProcessingComposite.
a) Ensure that the SOA option is selected in the Component palette drop-down list.
b) Click and drag a Business Rule component from the Component palette to the
Components column in the SOA Composite editor pane.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
iii) In the Type Chooser dialog box, click the top-right button (Import Schema
File) to import a schema, and then browse to the schema location:
D:\labs\Application_Files\schemas\
OrderApproval.xsd to select the schema.
iv) In the Type Chooser dialog box, expand and select Project Schema Files >
OrderApproval.xsd > orderValue for the input schema. Click OK.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
c) Click <insert test>, and then select the left <operand> in the IF statement.
d) Select the orderValue.price object.
g) The THEN clause configures the return result. Click <insert action> and select
assert new.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
i) Select the <add property> box and a dialog box opens to allow you to set the
property values. Set the value of approvalRequired to true by doubleclicking the approvalRequired row on the Value column and specifying the value.
Press Enter to accept the value.
j) Repeat the process to add a second rule for orders less than $5000. In this case,
approval is not required.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
In this practice, you add and configure a Business Rule activity in the
approveLargeOrder BPEL process. In the Business Rule activity, you select the
ManualApproval Business Rule component that you added to the
POProcessingComposite SOA composite in the previous practice for implementing the
condition of manually approving orders that are more than or equal to $5000.
1) In the SOA Composite editor, double-click the approveLargeOrder BPEL
component to open the BPEL designer.
2) Create a BPEL variable to store the output from the ruleset.
a) In the Structure palette of JDeveloper, expand Variables > Process and select the
Variables node.
b) Click the green [+] icon to add a variable named approvalRequired. Select the
Element type option, and browse and select the approval element from the
OrderApproval.xsd schema. Click OK.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
iii) In the Decision Fact Map dialog box, create an expression using the
expression builder to multiply the item price by the quantity.
From: Select and enter the following expression:
bpws:getVariableData('inputVariable','payload','/ns2:Orde
r/ns2:price') *
bpws:getVariableData('inputVariable','payload','/ns2:Orde
r/ns2:qty')
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
vi) In the Decision Fact Map dialog box, set the output value to the variable you
just created (approvalRequired).
From: Select the following variable:
Variables > com_globalcompany. > approval > approvalRequired
To: Select the following variable:
Variables > Process > Variables > approvalRequired > approval >
approvalRequired
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
d) Use the Expression Builder to set the test case expression in the case block:
bpws:getVariableData('approvalRequired','/ns4:approval/ns4:
approvalRequired') = 'true'
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
e) Drag an Assign activity from the Component palette to the <otherwise> block of
the new Switch activity.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
j) Click OK.
k) Click OK to return to the BPEL process.
5) The complete BPEL process looks like the following:
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
vi) In the Test Web Service page, paste the XML code in the text area of the
XML view.
vii) Click the Test Web Service button.
c) Verify the result of testing the POProcessingComposite SOA composite.
i) In the Test Web Service page, on the Response tabbed subpage, verify that the
Test Status is Passed.
Note: The Test Web Service page does not show any response because this is
a one-way invocation with no reply or callback.
ii) Click the POProcessingComposite link in the left pane of the browser dialog
box. You see that an instance has been added in the Recent Instances section.
iii) Click the Instance ID to see the flow trace of the composite.
Oracle SOA Suite 11g: Essential Concepts A - 144
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
iv) In the Flow Trace page, in the Trace section, verify that the State column
shows completed for the service, component, and reference.
v) You can also verify the result by opening the text file that has been created by
the File adapter service at the
D:\labs\Application_Files\testResults directory with a text
editor. Notice how field names have been translated by the mapping and are
different from the input.
Hint: Check the date and time of the text file to view the most recent file
created by the file adapter.
Additional Test Cases
There are four test cases for the POProcessingComposite SOA composite depending on
the input data value of the total quantity:
1. Under 10 units: auto approval without the BPEL Process component
2. Order value (price x quantity) under $5000: auto approval using the BPEL
Process component and the Business Rules component, but no Human Task
component
Note: Quantity more than 10 units
3. Order value more than or equal to $5000: manual approval using the BPEL
Process component, Business Rules component, and Human Task component
Note: Quantity more than 10 units
3) Close the Web browser window.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
In this practice set, you secure the SOA composite by attaching policies to the service
endpoints.
You perform the following task:
1. Attach user_name_security_policy to the receivePO Web service.
2. Attach log_policy to the receivePO service endpoint.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Choices or Values
In your browser, type the following URL:
http://localhost:7001/em
b.
Policies Page
c.
Attaching Policy
d.
e.
Validation
f.
Test - Authentication
g.
h.
Test - Verify
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
b)
a)
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
d)
c)
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
e)
f)
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
h)
g)
In this practice/task, you attach log_policy to the receivePO service endpoint. This
policy causes the request, response and fault messages to be sent to a message log. In
order to attach this policy, use the following details:
Step Screen/Page Description
a.
Start Oracle Enterprise
Manager Fusion Middleware
Control
b.
Policies Page
c.
Attaching Policy
d.
e.
Validation
f.
Test - Authentication
g.
h.
Test - Verify
Choices or Values
In your browser, type the following URL:
http://localhost:7001/em
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
b)
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
d)
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
f)
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
h)
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Introduction to Linux
What Is Linux?
Linux is an operating system that was initially created as a hobby by Linus Torvalds, a student at
the University of Helsinki in Finland. Torvalds had an interest in Minix, a small UNIX system,
and decided to develop a system that exceeded the Minix standards. He began his work in 1991
when he released version 0.02, and worked steadily until 1994 when version 1.0 of the Linux
kernel was released.
Linux is developed under the GNU General Public License and its source code is freely
available to everyone. As a result, a number of companies, organizations, and individuals have
developed their own versions of the Linux operating system, known as distributions.
Each distribution, with associated programs and utilities, was developed for a particular
purpose for example, on computers that receive heavy traffic (such as Web page servers),
where security is a priority, or on top of an existing operating system (such as Windows) so that
people can try out Linux under familiar conditions.
Although Linux is technically only the kernel, it is commonly considered to be all of the
associated programs and utilities of a distribution.
Linux has an online manual containing descriptions for all commands (see the man utility).
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
What Is Linux?
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Environment-based commands
Information-based commands
File system commands
Common vi editing commands
Shell Commands
All operating systems use a shell to get commands from the keyboard to the computer. The most
popular shell used for Linux is the bash shell; bash means Bourne Again Shell. It is a free
version of the Bourne shell.
For quick reference, the commands are divided as follows:
Environment-based commands
Information-based commands
File system commands
Common vi editing commands
Common FTP communication commands
Archive utilities
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Shell Commands
date
df
du
echo
env
exit
export
free
ifconfig
kill
login
logout
ps
su
top
uname
Environment-Based Commands
The usage for environment-based commands is as follows:
date: Display current date and time
- Usage: date
df: Display disk space used and available for each file system
- Usage: df
du: Display disk space usage for each file of the current directory
- Usage: du
echo: Print a line of text used to display an environment variable setting
- Usage: echo $ORACLE_HOME (displays the setting for the ORACLE_HOME
environment variable)
env: Display all environment variable settings
- Usage: env
exit: Log out from a session (see also the su command)
- Usage: exit
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Environment-Based Commands
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
>
>>
|
cat
diff
file
find
grep
info
less
ls
man
more
pwd
Information-Based Commands
The usage for information-based commands is as follows:
>: Redirect output
- Usage: ls > filename (lists all files in a directory and writes them to a file called
filename. If filename already exists, the contents are overwritten, otherwise a new file
is created.)
>>: Append contents
- Usage: ls >> filename (The output is written to the end of filename. If filename
does not already exist, it is created.)
|: A pipe for redirecting the output of a command to another command
- Usage: ps ef | grep keyword (displays all processes containing keyword)
cat: Concatenate files and print on standard output
- Usage: cat filename (displays the contents of filename to the screen)
diff: Find the differences between two files
- Usage: diff file1 file2 (displays the difference between file1 and file2)
file: Determine file type
- Usage: file filename (displays the file typefor example, text or executable)
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Information-Based Commands
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
cd
chmod
chown
cp
mkdir
mv
rm
rmdir
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Command
Description
ftp hostname.com
To connect to hostname.com
type binary
type ascii
get filename
put filename
mget *jar
mput *war
prompt
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Archive Utilities
The following archive utilities are available for Linux:
tar
tar stands for tape archive and was originally designed for tape backups, but is used to create a
tar file anywhere on the file system. The tar utility creates one tar file (also known as a
tarball) out of several files and directories. A tar file is not compressed. It is just a heap of files
assembled together in one container. So, the tar file takes up the same amount of space as all
the individual files combined, plus a little extra. A tar file can be compressed by using gzip or
bzip2.
The following are some examples:
tar -cf backup.tar /home/ftp/pub: Creates a tar file named backup.tar
from the contents of the /home/ftp/pub directory
tar -tvf example.tar: Lists the contents of example.tar to the screen
tar -xvf example.tar: Extracts the contents of example.tar and displays the
files as they are extracted
tar -zxvpf my_tar_file.tar.gz: Unzips the tar file and then extracts the
contents
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Archive Utilities
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Case-sensitivity
The clear utility
Web sites
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Objectives
Step 1 of 3: Type
Step 2 of 3: Create
Step 3 of 3: View
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Step 1 of 7
Step 2 of 7: Type
Step 3 of 7: Authentication
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Step 4 of 7: Configuration
Step 5 of 7: Test
Step 6 of 7: Completion
Step 7 of 7: View
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Step 1 of 3
Step 2 of 3
Create an Application
Start the Create Application Wizard by doing the following:
a. Select New from the File menu.
b. In the New Gallery, in the Categories tree, select General, and then select Generic
Application under Items. This invokes the Create Application Wizard.
To use the wizard, do the following:
1. Specify the application name and the directory under which it needs to be created. Click
Next.
2. The project name page is displayed. Specify the project name and select the type of project
that you want to create. In the slide, the project type selected is SOA. Click Next.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Create an Application
Step 3 of 3
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Create an Application
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Summary
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Objectives
SOA Adoption
As many enterprises seek to expand their SOA initiative, there are fundamental issues that must
be considered in SOA adoption planning. Businesses continue to struggle with the issue of
bridging the business and IT gap. SOA can help bridge that gap by focusing on delivering
business services that the business can understand, rather than programs and systems. The focus
on services delivering business functionality assist in aligning business and IT.
The benefits of SOA do not come automatically and there are a number of areas and disciplines
that need to be addressed. These areas include developing and executing an SOA strategy,
understanding and managing the demands that a shared infrastructure brings, and understanding
the organizational commitments required for SOA to deliver the benefits that it extols. If
enterprises do not address these demands, then they will encounter a number of challenges in
executing their SOA program.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
SOA Adoption
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Align IT with
business
Develop a
baseline
Create
Reference
Architecture
Create
infrastructure
roadmap
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Service Functional
Analyst
Service Development
Team
Service Requirements
Service Development
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Summary
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Glossary
business and its applications, seeing how existing applications fit into the new
model, and then devising ways to efficiently reuse what already exists while
adding new applications and data.
EDL: Event Definition Language.
EDSOA: Event Driven Service Oriented Architecture. An architecture that combines
SOAs request-response and Event-Driven Architectures (EDA) event publishsubscribe paradigms.
EJB: Enterprise Java Bean. Defines a Java API for server-side enterprise components
that execute within a J2EE-compliant applicant server. The specification also
details remote communication protocols, persistence, transactions, concurrency
control, naming services, and deployment descriptors.
ETL: Extract Transform Load. The processes that enable companies to move data from
multiple sources, reformat and cleanse it, and load it into another database, a data
mart, or a data warehouse for analysis, or onto another database, a data mart, or a
data warehouse for analysis, or onto another operational system to support a
business process.
IAAS: Information as a Service
IIOP: Internet Inter-ORB Protocol. An open-standard protocol published by OMG to be
used for communication in CORBA-based systems.
JAM: Java Applications Manager. Enables launching Java Applications.
JAXB: Java Architecture for XML binding. Provides a convenient way to process XML
content using Java objects by binding its XML schema to Java Representation.
JCA: Java Connector Architecture. A J2EE-based technology standard for connecting
application servers and enterprise information systems (EIS).
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
systems. The API supports both the point-to-point (and queuing) and
publish/subscribe interaction models. It is the primary standard to provide a
reliable foundation for loosely coupled, asynchronous messaging within a
distributed environment.
LOB: Line of Business
Mashup: Web page or application that combines data or functionality from two or more
external sources to create a new service
MDS: Metadata Service Repository. It is a critical component of SOA, providing a
shared location to manage metadata and govern the asset life cycle.
MOM: Message-Oriented Middleware. The term for application communication
software that connects systems in a network by carrying and distributing
messages between them. The messages may contain data and/or software
instructions. MOM infrastructure is typically built around a queuing system that
stores messages pending delivery and keeps track of whether and when each
message has been delivered.
MTOM: Message Transmission Optimization Mechanism. It is a method of efficiently
sending binary data to and from Web services.
OASIS: Organization for the Advancement of Structured Information Standards. An
international consortium that drives the development, convergence, and adoption
of e-business standards. The consortium produces Web services standards and
standardization efforts in the public sector and for application-specific markets.
Portlet: Pluggable user interface software components that are managed and displayed in
Web portals.
REST: Representational State Transfer. A collection of network architecture principles
that outline how resources are defined and addressed.
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
JMS: Java Messaging Services. A Java API for interacting with messaging-based
RMI: Remote Method Invocation. A RPC protocol published for accessing Java object
methods remotely within a distributed application system.
ROI: Return On Investment. A performance measure used to evaluate the efficiency of
an investment or to compare the efficiency of a number of different investments.
RPC: Remote Procedure Call. A protocol used in the client-server model that allows one
application (the client) to request a service from another application (the server)
located on another computer in a network without having to understand network
details.
SCA: Service Component Architecture
Schematron: A rules-based XML Schema language that uses XPath expressions to
describe validation rules.
SDO: Service Data Objects. A data programming architecture and API for the Java
platform that unifies data programming across data source types (relational
databases, entity EJB components, XML sources, Web services, JCA, JSP),
provides robust support for common application patterns, and enables
applications, tools, and frameworks to move easily, query, view, bind, update, and
introspect data.
SLA: Service-Level Agreement. A contract between a service provider and a service
requester that stipulates a specified level of service. An SLA could contain
agreements on support options, enforcement or penalty provisions for services not
provided, a guaranteed level of system performance, availability, and other
quality-of-service (QoS) standards.
SMTP: Simple Mail Transfer Protocol
SOAP: Simple Object Access Protocol. An XML-based messaging protocol maintained
by W3C that is used to encode the information in Web service request and
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
response messages before sending them over a network. SOAP messages are
particular schema.
XSLT: Extensible Stylesheet Language Transformations (XSLT) is the language used in
XSL style sheets to transform XML documents into other XML documents
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED