If you are deploying remotely from one computer that has Oracle JDeveloper to

3-6 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite export JAVA_HOME=MW_HOMEjdk160_11 export PATH=PATH:MW_HOMEmodulesorg.apache.ant_1.7.0bin On Windows, perform the following steps to modify the variables: a. Open the Control Panel from the Windows Start menu and double-click the System icon.

b. In the System Properties dialog, select the Advanced tab and click

Environment Variables . c. In the Environment Variables dialog, locate the JAVA_HOME system variable and ensure that it is set to the location of the Oracle WebLogic Server JDK. If there is no JAVA_HOME variable defined, click New and in the New System Variable dialog, enter a variable name of JAVA_HOME and a variable value pointing to the Oracle WebLogic Server JDK, such as C:\weblogic\jdk160_11. Click OK to set the new system variable. d. Double-click the Path system variable and ensure that it includes the path to the Oracle WebLogic Server ant\bin directory. If it does not, add the path to the end of the variable value. For example: ;C:\weblogic\modules\org.apache.ant_1.7.0\bin Click OK to set the new system variable. e. Click OK twice more to dismiss the Environment Variables and the System Properties dialogs.

3.3 Taking a Look at the WebLogic Fusion Order Demo Application

After you have set up the WebLogic Fusion Order Demo application, spend time viewing the WebLogic Fusion Order Demo artifacts in Oracle JDeveloper. To open the WebLogic Fusion Order Demo in Oracle JDeveloper: 1. From the Oracle JDeveloper main menu, choose File Open. 2. In the Open dialog, browse to DEMO_DOWNLOAD_HOMECompositeServices and select WebLogic Fusion Order Demo.jws. Click Open.

3. When prompted to migrate files to the 11.1.1.5.0 format, click Yes. When the

migration is complete, click OK. Figure 3–2 shows the Application Navigator after you open the file for the application workspace. It displays the project applications of the WebLogic Fusion Order Demo. Figure 3–2 Projects of WebLogic Fusion Order Demo Application Introduction to the SOA Sample Application 3-7

3.3.1 Project Applications of the WebLogic Fusion Order Demo Application

Table 3–2 lists and describes the projects in the WebLogicFusionOrderDemo application workspace.

3.3.2 The composite.xml File

To understand how a composite is designed, examine the main project, OrderBookingComposite, in Oracle JDeveloper. To view the composite.xml file: 1. In Application Navigator, expand OrderBookingComposite SOA Content. 2. Select composite.xml. The composite then appears in the SOA Composite Editor in Oracle JDeveloper, as shown in Figure 3–3 . Table 3–2 Projects in the WebLogic Fusion Order Demo Application Application Description B2BX12OrderGateway This project contains a composite for Oracle B2B. This composite is not used in this guide. bin This project contains a build script for deploying all the SOA projects. It also contains templates for seeding JMS connector information, demo topics, and demo users. CreditCardAuthorization This project provides the service needed by OrderBookingComposite project to verify the credit card information of a customer. ExternalLegacyPartnerSupplierEj b This project provides an external system to provide price quotes. OrderApprovalHumanTask This project provides a task form for approving orders from the OrderBookingComposite project. OrderBookingComposite This project processes an order submitted in the Store Front module user interface. This project contains the main process for the WebLogic Fusion Order Demo application. It also uses the Oracle BAM adapter and Oracle BAM sensors to send active data into the Oracle BAM dashboard. This composite is not used in this guide. OrderSDOComposite This project simulates the StoreFrontService service of the Store Front module for testing purposes. PartnerSupplierComposite This project contains a composite containing both a BPEL process and spring context for obtaining a quote from a partner warehouse. It is referenced as a service from the composite for the OrderBookingComposite project. The quote request is routed to either the BPEL process or the spring component based on the amount.