JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Java CAPS HTTP Binding Component Tutorial     Java CAPS Documentation
search filter icon
search icon

Document Information

Processing an Order in a Purchase Order System

Tutorial Requirements

Prerequisites

System Requirements

Software Needed for the Tutorials

Project Overview

Scenario Message Flow

Core System Pieces

Configuring the Tutorial Environment

To check the status of GlassFish

To configure GlassFish

To start GlassFish

Creating a New Project

To Create a New Project

Creating the XML Schemas

Creating the inventory.xsd Schema

To create the inventory.xsd schema

To add a complex type to the XML Schema

Add Local Elements to the XML Schema

To add a global element

To validate the XML Schema

Creating the purchaseOrder.xsd Schema

To create the purchaseOrder.xsd schema

To add a complex type to the XML schema

To add local elements to the XML schema

To add a global element

To validate the XML schema

Creating and Configuring the WSDL Documents

Creating the InventoryService WSDL Document

To create the WSDL using the New WSDL Document wizard

To configure the InventoryService WSDL document:

Creating the POService WSDL Document

To create the POService WSDL document

To configure the POService WSDL document:

Creating the InventoryService BPEL Process

To create the InventoryService BPEL process

To Create the InventoryService business process using the BPEL Designer

To specify the business logic for the InventoryService BPEL process

Create the POService BPEL Process

To create the POService BPEL process

To Create the POService business process using the BPEL Designer

To specify the business logic for the POService business process

Building the Project

To compile and package the project

Creating and Deploying the Composite Application

To create the Composite Application project and add the JBI module

To build and deploy the Composite Application

Testing the HTTP Binding Component Sample Project

To run the HTTP-SOAP-PO-JBI project

Project Summary

Configuring the Tutorial Environment

Before you can deploy your application, GlassFish must be configured correctly and running. Do the following:

To check the status of GlassFish

  1. If the Services window is not visible, choose Window -> Services.
  2. In the Services window, expand the Servers node.

    The Servers node should contain a GlassFish sub-node. If an application server node does not appear, go to To configure GlassFish.

    If a green arrow badge appears on the GlassFish node, the server is running. If a green arrow badge does not appear, go to To start GlassFish.

To configure GlassFish

  1. If the Services window is not visible, choose Window -> Services.
  2. In the Services window, right-click the Servers node and choose Add Server from the pop-up menu.

    The Add Server Instance dialog box opens.

  3. In the Choose Server page, from the Server drop-down list, select GlassFish.
  4. (Optional) In the Name field, change the default name for the server.

    The IDE uses this name to identify the server.

  5. Click Next.

    The Platform Location Folder page appears.

  6. In the Platform Location field, use the Browse button to navigate to and select the installation location of the application server.
  7. Select the Register Local Default Domain radio button and click Next.
  8. Enter the user name and password for the domain's administrator.

    If you accepted the default values during the installation, the user name is admin; the password was specified during installation.

  9. Click Finish.

To start GlassFish

  1. In the Services window, right-click the GlassFish node and choose Start.
  2. Wait until the following message appears in the Output window:

    Startup complete.

    When the server is running, the IDE displays a green arrow badge on the GlassFish node.