Processing an Order in a Purchase Order System

Creating and Deploying the Composite Application

Before you deploy the BPEL Module project, you must add the JBI module to the deployment project. Deploying the project makes the service assembly available to the application server, which allows its service units to be run.

ProcedureTo create the Composite Application project and add the JBI module

  1. From the IDE's main menu, choose File -> New Project.

    The New Project wizard opens.

  2. In the Categories list, select the SOA node.

  3. In the Projects list, select the Composite Application

  4. Click Next.

  5. In the Project Name field, type HTTP-SOAP-PO-JBI .

  6. Click Finish.

    The Projects window now contains a project node for a Composite Application project called HTTP-SOAP-PO-JBI.

  7. In the Projects window, right-click the HTTP-SOAP-PO-JBI project node and select Add JBI Module from the pop-up menu.

    The Select Project dialog box opens.

  8. Select the HTTP-SOAP-PO-BPEL project you created earlier in this tutorial and click Add Project JAR Files.

    The Select Project dialog box closes.

  9. In the Projects window, expand the HTTP-SOAP-PO-JBI project node and then expand the JBI Modules node.

    Notice that the HTTP-SOAP-PO-BPEL.jar node has been added.

ProcedureTo build and deploy the Composite Application

  1. From the Projects window, right-click the HTTP-SOAP-PO-JBI project and select Build Project from the pop-up menu.

  2. The Output window displays the Ant output and any compilation errors. If any errors are found, double-click each error to go to the error location in the source code. Refer to the error message for information on how to resolve the error.

  3. Right-click the HTTP-SOAP-PO-JBI project node and select Deploy.

  4. The IDE's Output window states BUILD SUCCESSFUL when Deployment has succeeded.