Importing a BPEL Process

The following procedures show you how to import an existing BPEL into ALBPM Studio. When importing a BPEL Process you must also import its corresponding WSDL file.

  1. Ensure that you have enabled BPEL support. See Enabling BPEL Process Design and Editing for more information.
  2. Follow the procedures outlined in Importing Designs to import your BPEL process.
  3. Edit the XML namespace definition.

    To use the editor provided with ALBPM Studio, you must manually edit the namespace of your BPEL Process.

    1. Ensure that the Navigator View is visible.
    2. Expand the directory of the Project where you imported the BPEL process.
    3. Expand the processes directory.
    4. Right-click on your BPEL process.
    5. Select Open With > XML Editor
    6. Ensure that the BPEL namespace declaration points to this URL: http://schemas.xmlsoap.org/ws/2004/03/business-process/

      The namespace declaration is the xmlns:NAME attribute of the top-level <NAME:process> element (where NAME may be any valid xml namespace).

      For example, if you have defined you XML namespace as:

                                      <bpel:process xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
                                      xmlns:ns1="test" xmlns:xsd="http://www.w3.org/2001/XMLSchema" exitOnStandardFault="yes"
                                      name="test1" suppressJoinFailure="yes" targetNamespace="http://test1">
                                  

      You must replace the xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable" with http://schemas.xmlsoap.org/ws/2004/03/business-process/

    7. Save your BPEL process.
  4. Import the WSDL File
    1. Ensure that the Navigator view is visible.
    2. Expand the folder of the Process where you want to import the BPEL process.
    3. Right-click on the process folder, then select Import .
    4. Expand General
    5. Select File System .
    6. Click Next .
    7. Browse to the directory containing the WSDL file for the BPEL process you imported above.
    8. In the left-hand pane, click the checkbox next to the folder name.
    9. In the right-hand pane, select the WSDL file and any other files you need to import.
    10. Click Finish .