ActiveBPEL™ Designer User’s Guide

Importing an Existing BPEL Process into ActiveBPEL

If you have created a BPEL process outside of ActiveBPEL, we recommend that you follow the steps below before opening your BPEL file in ActiveBPEL.

It is highly recommended that you add your WSDL and XSD files to Web References before opening your BPEL file so that ActiveBPEL can associate the WSDL files to your BPEL process and validate your BPEL process.

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 Web References tab. For more information, see Web References.
  2. Select Add Web Reference from the toolbar drop-down list, and add the WSDL files and schema referenced in your BPEL process.
  3. Select the Navigator tab.
  4. Select File>New>Project>General>Project, and click Next.
  5. Type in a project name, and click Finish.
  6. Select File>Import and import your BPEL file into the new project.
  7. 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.
  8. Use the Tasks view to correct any validation errors that occurred.

Note: If you import your BPEL process before you add the referenced WSDL file to Web References, ActiveBPEL reports validation errors because it cannot locate an appropriate namespace for your process. You must manually add a namespace, as described in Manually Importing WSDL, Schema, and Other Resources.

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.