In this section, you add a BPEL process file, for example, BPELProcess.bpel. Add a partner link and three activities to the BPEL process file.
![]() |
This opens the New BPEL Process wizard.
3 Type the File Name in the File Name field.
For example, BPELProcess
4 Click Finish.
![]() |
![]() |
3 Select the Partner Link from the Projects tab.
For example, dbWSDL.wsdl
This is the Output WSDL.
4 Drag and drop DATABASE WSDL Document to the right panel of the design area.
For example, dbWSDL.wsdl
![]() |
Drag and Drop the following Web Services:
Drag and Drop the Basic Activities : Assign1 and Assign2.
1 Select the Web Service : Receive in the Web Service section of the Palette.
2 Drag the selection to the BPELProcess box in the design area between the Process Start and the Process End activities.
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 — 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 BPELProcess 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 are displayed, by default.
You can also change the value in the Name field.
* Click OK.
![]() |
![]() |
4 Click OK to close the Receive1 (Receive) - Property Editor.
5 Click Save All.
![]() |
![]() |
3 Follow the 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 are displayed, by default.
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 are displayed, by default.
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 : FindIn
* Output Variable : FindOut
![]() |
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.
Reply1 is displayed, by default.
d Click OK.
![]() |
4 Click OK to close the Reply1 (Reply) - Property Editor.
![]() |
![]() |
6 Click the Design tab.
![]() |
![]() |
6 Click the Design tab.
The final output is as shown in the illustration.
![]() |
7 Right-click the project node and select Clean and Build.
For example, BpelModuleSample
The following message is displayed.
BUILD SUCCESSFUL (total time: 2 seconds).