Index Changes
This is version 21. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

Deploying and Testing the Composite Application

In this section, you deploy the Composite Application project and then test the deployed application. Start the Sun Java System Application Server before deploying the project. See Starting the GlassFish V2 Application Server. TDCAPPDB

To Deploy the Composite Application

Before You Begin


  • Stop the GlassFish V2 Application Server and Restart to ensure the connection.
  • Logout of the Sun Java System Application Server Admin Console and Login.
  • Go to Resources —> JDBC —> Connection Pools —> Choose the defined Connection Pool.
       For example, mysqlpool
  • Click the Connection Pool.
       The Edit Connection Pool screen is displayed.
  • Ping the Connection Pool.
       The following confirmation message box is displayed.
Ping Successful

Image shows ...


1    Select the project node in the Projects window.
       For example, DBBCSampleCompositeApp
2    Right-click and choose Deploy.

Image shows ...

       After successful deployment of the project the following message appears in the Output window:

BUILD SUCCESSFUL (total time: 18 seconds)



To Test the Composite Application

1    Click Test.
2    Right-click and select New Test Case.
3    Enter the Test Case Name.
       For example, DBBCTestCase
4    Click Next.
5    Select the WSDL Document.
       a    Select the following:
              For example, SOAPWSDL.wsdl from BpelModuleSample : Process Files

Note - One WSDL document must be selected.

Image shows ...

       b    Click Next.
       c    Select the following:
             SOAPWSDLOperation from SOAPWSDLPort (Binding=”SOAPWSDLBinding”)

Note - One operation to text must be selected.

Image shows ...

6    Click Finish.
       The Source Code is as shown.

Image shows ...

7    Enter the string values.

       For example,
       * NAME — Nano Apple
       * CUSTOMER_ID — 3

Image shows ...

       When you enter the string values in the Input.xml window, the output console displays Retrieve.xml. This window displays the location to save the data.
8    Right-click the Test Case and click Run.
       For example, DBBCTestCase
       A confirmation box to overwrite the Output is displayed. Click Yes to overwrite.

Image shows ...

       The Output is as shown in the illustration.

Image shows ...


Debug the Test Case

       You can debug the test case.

To Debug the Test Case

    Right-click on the Test Case and select Debug.
    For example, DBBCTestCase1

    A message is displayed as shown in the illustration.

Image shows ...

Watch Video
Checking the Flight Details Using Tables in Database Binding Component



See Also

Return to Using the Database Binding Component

JSPWiki v2.4.100
« Home Index Changes Prefs
This particular version was published on 01-Jan-09 07:58 AM, -0800 by PRABHAMS