This guide will explain the initial step for modeling a BPEL process. Refer this article to get more informative idea on how to model a BPEL process via Carbon Studio. Major steps in modeling a business process are.
Creating the Carbon Application Project (in this example, Carbon Application Project
name is WS_NumberAdderCarbon)
Creating a new BPEL Work-flow Project as a new Carbon Artifact under the created
Carbon Application Project (in this example, BPEL Work-flow Project name is
Creating the BPEL 2.0 process under the created BPEL Work-flow Project (in this
example, BPEL process name is AdderProcess)
Open eclipse IDE. Go to File -> new -> Other (see Figure 1)
From the dialog window select Carbon Application project
and click Next(see Figure 2).
Give a name to the Carbon Application project. Here I'm giving the carbon
Application project name as WS_NumberAdderCarbon. Then click
Finish. (See Figure 3)
Note: Eclipse will prompt you to "root-artifact.xml"
automatically. (If not, open it from
Let's create a new BPEL project. Click on "Create new Artifact"
(figure 4) and select "BPEL WorkFlow" (Figure 5). In the opened
dialog (Figure 6) click on "New BPEL Project".
It will show dialog box (Figure 7). Give a name to the BPEL project. Here give the
project name as BPELNumberAdder.
Then click Finish to close the wizard and again click finish to close the New
workflow dialog. Now you can see the newly created BPEL project appears in
Now there's an already created BPEL project. Now-onwards we are going to create
our BPEL process.
Let's create a BPEL process file. For that
on BPEL project "BPELNumberAdder" form the "Project
Note:If you expand the
project folder in the
window, you can see another folder called BPELNumberAdder. This
is an instance of our BPELNumberAdder Project. Both are linked in
together. In Other words all changes which are done to the
BPELNumberAdder project, automatically applied to the
BPELNumberAdder folder of the WS_NumberAdderCarbon.
Here the BPELNumberAdder project is used for BPEL process
Then go to New -> Other. It will show a Wizard (Figure 8). From
the wizard, select "New BPEL process File" which is under the
BPEL 2.0. Then click Next.
In next dialog (Figure 9), it will ask for a name for BPEL process, a namespace,
and a template. Here I am giving the Process name as "AdderProcess" and namespace as "http://NumberAdder.com". The process which we are going to create
is a synchronous process. So select template asSynchronous BPEL process. Then click Finish.
Note: It will automatically generate AdderProcessArtifacts.wsdl
and AdderProcess.bpel. If we look at the folder structure of the
BPEL process, we can easily figure out these two files. (Figure 10)
AdderProcess.bpel file from the Project Explore
window. Here you can see the template for our business process. The BPEL editor
automatically generates receiveInput and replyOutput activities. (Figure 11) Also it will generate partnerLink and variables used in
these two activities.