Enter weblogic for the User Name and the password for that administrator in

Introduction to the SOA Sample Application 3-15

9. Click Next.

The Test page displays.

10. Click Test Connection.

The following message should appear: Testing HTTP connection ... success. Testing Data Object browsing ... success. Testing JNDI connection ... success. 3 of 3 tests successful.

11. Click Finish.

3.5.3 Task 3: Install the Schema for the Fusion Order Demo Application

To install the schema for the sample application: 1. Start Oracle JDeveloper 11g, and from the main menu choose File Open. 2. In the Open dialog, browse to DEMO_DOWNLOAD_HOMEInfrastructure and select Infrastructure.jws.

3. Click Open.

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

migration is complete, click OK. 5. In the Application Navigator, expand MasterBuildScript and then Resources, and double-click build.properties. 6. In the editor, modify the following properties shown in Table 3–5 for your environment. Use HTTPS Select this checkbox to use secure HTTP HTTPS to connect to the Oracle BAM Server during design time. Otherwise, HTTP is used. Table 3–5 Properties Required to Install the Fusion Order Demo Application Field Description jdeveloper.home The root directory where you have Oracle JDeveloper 11g installed. For example: C:JDeveloper11 jdbc.urlBase The base JDBC URL for your database in the format jdbc:oracle:thin:yourhostname. For example: jdbc:oracle:thin:localhost jdbc.port The port for your database. For example: 1521 jdbc.sid The SID of your database. For example: ORCL or XE db.adminUser The administrative user for your database. For example: system Table 3–4 Cont. Oracle BAM Server Connection Information Field Description 3-16 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite

7. From the JDeveloper main menu, choose File Save All.

8. In the Application Navigator, under the Resources node, right-click build.xml and

choose Run Ant Target buildAll. 9. When prompted, enter the administrative-user password for your database. The buildAll command then creates the FOD user and populates the tables in the FOD schema. In the Apache Ant - Log, a series of SQL scripts display, followed by: buildAll: BUILD SUCCESSFUL Total time: nn minutes nn seconds For more information on the demo schema and scripts, see the README.txt file in the MasterBuildScript project.

3.5.4 Task 4: Set the Configuration Property for the Store Front Module

You can deploy the Store Front module as a simple web application or as part of a SOA environment. There is a property defined in the service portion of the Store Front module that is used within one of its pages to determine whether the Submit Order button fires an event that launches a BPEL process. When using the Store Front module within a SOA environment, you must change the default value for this property.

1. Choose File Open.

2. In the Open dialog, browse to DEMO_DOWNLOAD_HOMEStoreFrontModule and

select StoreFrontModule.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–8 shows the Application Navigator after you open the file for the application workspace. Figure 3–8 Application Navigator with StoreFrontModule

4. In the Application Navigator, expand StoreFrontService Application Sources

oracle.fodemo.storefront store service.

5. Right-click StoreServiceAM and select Configurations.

6. In the Manage Configurations dialog, select StoreServiceAMLocalWeb in the

Names list, and then click Edit. Figure 3–9 provides details. db.demoUser.tablespace The tablespace name for the Fusion Order Demo users. For example: USERS Table 3–5 Cont. Properties Required to Install the Fusion Order Demo Application Field Description