Create new JBoss Tools Documentation Jira issue

This will launch the Jboss Tools Jira page - to complete your feedback please login if needed, and submit the Jira.

JBoss.orgCommunity Documentation

Chapter 3. Creating and editing a BPEL project

3.1. Creating a BPEL project
3.2. Creating a BPEL process
3.3. Editing a BPEL process file

In the chapter we describe the necessary steps to create a new BPEL project and edit the BPEL files. First of all, you should create a BPEL project.

Create the project by selecting New > Project... > BPEL 2.0 > BPEL Project from the menu bar. Then click the Next button.


On this page of the New BPEL Project Wizard enter a project name in the Project Name field,e.g enter HelloWorld.


Click the Finish button. So you have created the BPEL project named HelloWorld. Its structure is like this:


Now you should create a BPEL process. You can create it by selecting New > Others... > BPEL 2.0 > New BPEL Process File.


Click the Next button. Enter the following information:



Click the Next button. On the second page make sure that the folder HelloWorld/bpelContent is selected. Click Finish.

Note

All of your files that are used in your BPEL project must be under the bpelContent folder. Only in this case these files can be deployed to JBoss server.

Up to now, you have got a simple BPEL process as on the screen below.


The next step, you can do is to edit the BPEL process file and then deploy it to JBoss server.

If the Properties view and Palette view are not opened, you can open the views by right-clicking the BPEL editor and selecting Show in Properties, Show Palette in Palette view. Then you should have the view like this:


In the Palette view, you can drag a BPEL element to the BPEL editor and drop it in the place you want.

In the Properties view, you can get the information about every element of the BPEL process. In the BPEL editor select any element you want,and then the element's properties will be shown in the Properties view.The table below describes the tabs of the Properties view:


In order to see how a simple BPEL process works in action, you should do some steps as below:

Now you have finished creating a simple BPEL process.As a next step, you can deploy the BPEL project to JBoss BPEL Runtime.