In this section, add a BPEL process file. For example, 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.
![]() |
2 Type the Filename in the File Name field.
For example, AddBPELProcess
3 Click Finish.
![]() |
![]() |
2 Select the Partner Link from the Projects tab. Drag and drop it to the right panel of the design area.
For example, AddWSDL.wsdl
This is the Output WSDL.
![]() |
Drag and Drop the following Web Services:
Drag and Drop the Basic Activities : Assign.
1 Select the Web Service : Receive in the Web Service section of the Palette.
2 Drag the selection to the box in the design area between the Process Start and the Process End activities.
For example, BPEL Process box : AddBPELProcess
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.
3 Select the Basic Activities. Choose Assign in the Basic Activities section of the Palette.
This action places a Assign activity called Assign1 in the Design view.
4 Drag the selection to the AddBPELProcess box in the design area, between the Process Start and the Process End activities.
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.
![]() |
![]() |
3 Create a new input variable.
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.
![]() |
![]() |
4 Click OK to close the Receive1 (Receive) - Property Editor.
5 Save the project.
![]() |
![]() |
3 Follow these steps to create a new input and an output variable.
a 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.
You can also change the value in the Name field.
b Click OK to close the New Input Variable dialog box.
c Click the Create button next to the Output Variable 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.
d Click OK to close the New Output Variable dialog box.
Select the following Variables:
* Input Variable : AddWSDLAddOperationIn
* Output Variable : AddWSDLAddOperationOut
![]() |
4 Click OK to close the Invoke1 (Invoke) - Property Editor.
5 Save the project.
![]() |
![]() |
3 Follow the steps to create a New Output Variable.
a Make sure to select the Normal Response radio button.
b Click the Create button next to the Output Variable field.
This opens the New Output Variable dialog box.
![]() |
c Change the value in the Name field. This is optional.
TriggerWSDLOperationOut is displayed, by default.
d Click OK.
![]() |
4 Click OK to close the Reply1 (Reply) - Property Editor.
![]() |
![]() |
5 Click Save All.
6 Expand the node in the Destination tree pane (the right pane) of the BPEL Mapper under Input —> Variables.
For example, AddWSDLAddOperationIn
a Select request — attributes — Attributes
i Select person.sn.
ii Click String and select String Literal from the drop-down list.
![]() |
iii Enter the values in the String Literal and map the String Literal with person.sn.
For example, person.sn = Joe, where sn = surname and person.cn = Jane where cn = common name
![]() |
7 Click Save All.
8 Click the Design tab.
![]() |
2 Expand the node in the Source tree pane (the left pane) of the BPEL Mapper under Output — Variables.
For example, AddWSDLAddOperationOut
Expand response — OperationResult.
3 Expand the node in the Source tree pane (the right pane) of the BPEL Mapper under Input — Variables.
For example, TriggerWSDLOperationOut
4 Map the following variables
For example, OperationResult — TriggerOut
5 Click Save All.
![]() |
6 Click the Design tab.
The final output is as shown in the illustration.
![]() |
7 Right-click the BPEL Module and select Clean and Build.
For example, LDAPBpelModule
The following message is displayed.
BUILD SUCCESSFUL (total time: 3 seconds).
![]() |
8 Click Save All.
See Also
This page (revision-20) was last changed on
14-Jan-09 07:08 AM, -0800
by PRABHAMS.
This page was created on
06-Dec-08 11:17 AM, -0800 by PRABHAMS.
| Version | Date | Author | Size | Changes ... |
|---|---|---|---|---|
| 20 | 14-Jan-09 07:08 AM, -0800 | PRABHAMS | 19732 | to previous |
