ActiveBPEL® Designer User’s Guide

Importing an Existing BPEL Process

If you have created a BPEL process outside of ActiveBPEL, you can import the BPEL and related files into your orchestration project. If your BPEL process in already in an Eclipse project, see Adding or Removing a Project Orchestration Nature.

Note: If you want to save a BPEL 1.1 process as a BPEL 2.0 process, see Migrating Processes from BPEL4WS 1.1 to WS-BPEL 2.0.

  1. Select the Project Explorer tab.
  2. Select File>New>Orchestration Project, and click Next.
  3. Type in a project name, and click Finish.
  4. If you have xsd files, select the schema folder, and right-mouse click to select Import.
  5. Browse to the directory where your XSD files reside. Import your xsd files into the schema folder.
  6. Import your WSDL into the wsdl folder, or alternately use Service References, as described in Importing a Service Reference.
  7. Import your BPEL into the bpel folder.
  8. Double-click the BPEL file to open it in the Process Editor. The file opens in the mode associated with the BPEL version: WS-BPEL 2.0 or BPEL4WS 1.1.
  9. Use the Problems view to correct any validation errors that occurred.

Note: If you import your BPEL process before you add the referenced WSDL and schemas, ActiveBPEL reports validation errors until it locates an appropriate namespace for your process.

Note: If your WS-BPEL 2.0 process contains elements and attributes that are extensions to the WS-BPEL 2.0 specification, they are automatically declared. See Declaring Extension Elements and Attributes for details.