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

Document Information

Using the LDAP Binding Component in a Project

Tutorial Overview

Tutorial Requirement

Tutorial Plan

LDAP Binding Component Project in a Nutshell

Starting the GlassFish Application Server

To Start the GlassFish Application Server

To Start the JBI Components

Creating a BPEL Module Project For the Add Feature

To Create a BPEL Module Project

Creating a WSDL Document

To Create a WSDL Document: Add Operation

Create a WSDL Document For Type: SOAP

To Create a WSDL Document: SOAP

Creating a BPEL Process

To Create a BPEL Process

To Add a Partner Link

To Add a Web Service and Basic Activities

To Edit the Web Service: Receive1

To Edit the Web Service: Invoke1

To Edit the Web Service: Reply1

To Edit the Basic Activities: Assign1

To Edit the Basic Activities: Assign2

Creating a Composite Application Project

To Create a Composite Application Project

Deploying a Composite Application

To Deploy a Composite Application

Testing the Composite Application

To Test the Composite Application

Source View

Design View: Notification

Create a WSDL Document: Search

Create a WSDL Document: Update Feature

Create a WSDL Document: Delete Feature

Testing the Composite Application

This section lists the procedure to test the deployed application.

To Test the Composite Application

  1. Expand the AddCompApp Composite Application project. Click Test.
  2. Right-click to select New Test Case.
  3. Enter the Test Case Name; for example, AddTest.
  4. Click Next.
  5. Select the WSDL Document.
    1. Select one WSDL Document from the BPEL Module.

      In the current example, the WSDL Document is TriggerWSDL.wsdl and the BPEL Module is LDAPBpelModule — Process Files.


      Note - Select one WSDL Document.



      image:Select WSDL Document
    2. Click Next.
    3. Select one Operation to text file from the Process Files.

      In the current example, the Operation to Text file is TriggerWSDLOperation and the Process File is TriggerWSDLPort (Binding=TriggerWSDLBinding).


      Note - Select one Operation to Text file.



      image:Select Trigger WSDL
  6. Click Finish.

    This displays the Source code.


    image:Test Case Source Code
  7. Enter the string value.

    string = Jane


    image:Enter Value

    The Output console displays Retrieve.xml when you enter a string value in the input.xml window.

  8. Right-click the Test Case and click Run.

    A confirmation dialog box prompts to overwrite an existing Output.

  9. Click Yes.

    The Output is as shown in the illustration.


    image:Final Composite Output

    For a demonstration of the Add feature, visit the following URL:

    http://wiki.open-esb.java.net/Wiki.jsp?page=LDAPAddFeatureScreencast

Source View

Right-click a node and choose Go To —> Source.

The Source view appears with the cursor positioned at the beginning or end of the component's block.

In the Source view, the underlying XML source code appears. You can directly edit the XML.

  1. The top of the Source Editor has a tab for each open document. Each tab shows the name of the document.


    Note - If the document has been modified and has not been saved, then an asterisk (*) appears after the name. You can right-click a tab to access various commands.


  2. A toolbar is located at the top of the Source Editor window.

  3. Source code displayed in the Source Editor is syntactically colored.

  4. The Source Editor status line is located beneath the horizontal scroll bar. To toggle between insert mode and overwrite mode, use the Insert key.