To create a Java interface for a BPEL process, you can start with an existing Java project or create a new Java-enabled orchestration project.
Setup a Java project a Java Project:
File > New > Orchestration Project
Name your project and click
Select Java Enabled Orchestration.
In the orchestration project, import or create a new Java Project. The Java project must contain:
A Java interface with at least one method.
Concrete implementation of the Java interface.
If you have a Java project open in Eclipse, you can switch perspectives from the Eclipse Java Perspective to Process Developer. Then in the Project Explorer, right-mouse click on the project, and select
Add Orchestration Nature
When you add an orchestration nature to your Java project, a background validation builder ensures that you are aware of errors and problems in your process, imported WSDLs, and its other resources. Also, the builders automatically synchronize the generated WSDL with changes that might be made to the source Java.
After adding the Java project to Process Developer, you can generate a WSDL that is the BPEL-oriented interface needed to create activities. For details, see