Follow this to build a BPEL process.
Start the GlassFish V2 Application Server.
Start the JBI Components.
Create a BPEL Module project using the New Project wizard.
Create the following WSDL Documents for the BPEL Project.
File : WSDL Document
FTP : WSDL Document
Test Cases are not required for projects created using File BC and JMS.
Create a Composite Application project.
Add the BPEL Module project (*.jar) as a JBI Module to the Composite Application project.
Build the Composite Application project. Ensure that the Application Server is started.
Deploy the Composite Application project to the Application Server.
Check the Output.