How to Test a Deployed Composite

2-30 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite 3 Introduction to the SOA Sample Application 3-1 3 Introduction to the SOA Sample Application This chapter introduces the SOA sample application that can be used with this guide. The WebLogic Fusion Order Demo application of the Fusion Order Demo demonstrates various capabilities of Oracle SOA Suite and is used as an example throughout this guide. This chapter includes the following sections: ■ Section 3.1, Introduction to the Fusion Order Demo ■ Section 3.2, Setting Up the Fusion Order Demo Application ■ Section 3.3, Taking a Look at the WebLogic Fusion Order Demo Application ■ Section 3.4, Understanding the OrderBookingComposite Flow ■ Section 3.5, Deploying Fusion Order Demo ■ Section 3.6, Running Fusion Order Demo ■ Section 3.7, Viewing Data Sent to Oracle BAM Server ■ Section 3.8, Undeploying the Composites for the WebLogic Fusion Order Demo Application

3.1 Introduction to the Fusion Order Demo

The WebLogic Fusion Order Demo application is part of a larger sample application called Fusion Order Demo. In this larger sample application, Global Company sells electronic devices through many channels, including a web-based client application. Electronic devices are sold through a storefront-type web application. Customers can visit the web site, register, and place orders for the products. There are two parts to the Fusion Order Demo, the Store Front module and the WebLogic Fusion Order Demo application.

3.1.1 Store Front Module

The Store Front module provides a rich user interface built with Oracle Application Development Framework to show how to combine an easily built AJAX user interface with a sophisticated SOA composite application. It is based on Oracle ADF business components, ADF model data bindings, and ADF faces. The Store Front module sells electronic devices through a storefront-type web application. The Store Front module contains the following projects: 3-2 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite ■ StoreFrontService: This project provides access to the storefront data and provides transaction support to update data for customers, orders, and products. ■ StoreFrontUI: his project provides web pages that the customer uses to browse the storefront, place orders, register on the site, view order information, and update the user profile. Figure 3–1 shows the Home page of the Store Front module user interface. It shows the featured products that the site wants to promote and provides access to the full catalog of items. Products are presented as images along with the name of the product. Page regions divide the product catalog area from other features that the site offers. Figure 3–1 StoreFrontUI Home Page From the home page, you can browse the web site as an anonymous user, then log in as a registered customer to place an order. The Fusion Order Demo application ships with predefined customer data. Because the Fusion Order Demo application implements Oracle ADF security to manage access to Oracle ADF resources, only the authenticated user can view orders in their cart. For more information about the Store Front module, see Oracle Fusion Middleware Fusion Developers Guide for Oracle Application Development Framework.

3.1.2 WebLogic Fusion Order Demo Application

The WebLogic Fusion Order Demo application processes orders placed in the Store Front module. It uses the following Oracle SOA Suite components: ■ Oracle Mediator ■ Oracle BPEL process ■ Human workflow using a human task