Skip Navigation Links | |
Exit Print View | |
Oracle Java CAPS LDAP Binding Component Tutorial Java CAPS Documentation |
Using the LDAP Binding Component in a Project
LDAP Binding Component Project in a Nutshell
Starting the GlassFish Application Server
To Start the GlassFish Application Server
Creating a BPEL Module Project For the Add Feature
To Create a BPEL Module Project
To Create a WSDL Document: Add Operation
Create a WSDL Document For Type: SOAP
To Create a WSDL Document: SOAP
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
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
Create a WSDL Document: Search
In this section, add a BPEL process file named AddBPEL.bpel. You will also learn to add a partner link and associate three activities to the BPEL process file. Create a BPEL Module project to orchestrate.
This opens the New BPEL Process wizard.
Note -
In the Projects window, the IDE adds a AddBPELProcess.bpel node under the Process Files node.
The AddBPELProcess.bpel file is open in the BPEL Designer.
The Properties window is open.
Choose Window —> Properties if the Properties window is not visible.
The Navigator window shows the BPEL Logical View of the BPEL Process document.
This is the Input WSDL.
This is the Output WSDL.
Drag and Drop the following Web Services:
Receive
Invoke
Reply
Drag and Drop the Basic Activities: Assign.
The IDE provides the visual clues to show an appropriate location to drop the selection.
This action places a Web Service Receive called Receive1 in the Design view.
This action places a Assign activity called Assign1 in the Design view.
Note - Repeat steps 1 through 4 to select Invoke1, Assign2, and Reply1.
Choose the following:
Select the Web Service: Invoke and Basic Activities: Assign.
Select the Web Service: Reply.
The icon symbolizes that the Web Services can be edited.
Note - In the diagram, a red cross next to an element means that the element has not passed validation and the output contains errors. Edit each Sequence to pass validation.
This opens the Receive1 [Receive] - Property Editor.
The Operation drop-down list refreshes to display TriggerWSDLOperation.
Perform the following:
Click the Create button next to the Input Variable field.
This opens the New Input Variable dialog box.
The Name, Type, and Scope variable fields are refreshed with their default values.
Change the value in the Name field.
Click OK.
Note -
All the fields are populated with the assigned values.
The Input Variable is TriggerWSDLOperationIn
Create Instance check box is checked, by default.
This opens the Invoke1 [Invoke] - Property Editor.
The Operation drop-down list refreshes to display AddWSDLAddOperation.
This opens the New Input Variable dialog box.
The Name, Type, and Scope variable fields are refreshed with their default values.
You can also change the value in the Name field.
This opens the New Output Variable dialog box.
The Name, Type, and Scope variable fields are refreshed with their default values.
You can also change the value in the Name field.
Note - All the fields are populated with the assigned values.
Select the following Variables:
Input Variable: AddWSDLAddOperationIn
Output Variable: AddWSDLAddOperationOut
This opens the Reply1 [Reply] - Property Editor.
The Operation drop-down list refreshes to display TriggerWSDLOperation.
This opens the New Output Variable dialog box.
TriggerWSDLOperationOut is displayed, by default.
This displays the BPEL Mapper window.
Note - Choose Window —> Other —> BPEL Mapper from the main menu if the BPEL Mapper window is not visible.
A Trigger1n node appears under the TriggerWSDLOperationIn node.
A request node appears under the AddWSDLAddOperationIn node.
For example,
Map the following:
TriggerIn — inetOrgPerson.uid
For example, person.sn = Joe, where sn = surname and person.cn = Jane where cn = common name.
Note - Similarly, select person.cn and follow steps b and c.
Note - A red icon marked against Basic Activities — Assign1 is not shown.
This displays the BPEL Mapper window.
Note - Choose Window —> Other —> BPEL Mapper from the main menu if the BPEL Mapper window is not visible.
You should see AddWSDLAddOperationOut.
Expand response — OperationResult.
You should see TriggerWSDLOperationOut.
The final output is as shown in the illustration.
The following message appears.
BUILD SUCCESSFUL (total time: 3 seconds).