Designer 10.5 | Centrasite Eclipse UI Help | Tasks | Importing Data into CentraSite | Importing BPEL Process Definitions
 
Importing BPEL Process Definitions
You can import BPEL process definitions from a file system into a CentraSite  Registry and Repository. For the import, you specify a BPEL file which may define one or more processes.
The following Assets and Registry Objects and Supporting Documents and Resources are created by the import of BPEL process definitions:
*In the registry, objects are created for different elements defined in the BPEL file being imported:
An object of the BPELProcess type is created for each process element defined in the BPEL file, the corresponding name attribute in the BPEL file determines the registry object's name. An object of the BPELPartner type is created for each BPEL partner in a process, and a BPELPartnerLink object is created for each BPEL partner link of a process. The new objects are connected by associations and implicit references as required.
If partner links are imported, the import checks whether the registry contains an object of the BPELPartnerLinkType type whose name is identical with the value of the name attribute of the partnerlink element in the BPEL file. If this is the case, the import creates references between the BPELPartnerLink and BPELPartnerLinkType objects in the registry. Otherwise, a warning is issued that the required BPELPartnerLinkType does not exist in the registry. You can create BPELPartnerLinkType as well as BPELRole objects in the registry by Importing Web Services.
*The BPEL file is copied to a subfolder of projects/BPEL in the repository. The name of the subfolder is determined by the target namespace specified in the BPEL file. For example, if the namespace is http://www.MyOrganization.com/processes, the BPEL file is copied to projects/BPEL/www.MyOrganization.com/processes.
*For each imported process, an External Links is created which points to the BPEL file in the repository.
You can update BPEL process definitions in CentraSite by importing an updated BPEL file. The BPEL must have the same namespace and process names as the original BPEL file. The BPEL file may include additional process definitions. However, it is not possible to remove a process definition from CentraSite via an updated BPEL file which no longer includes the corresponding process element.
*To import BPEL process definitions
1. On the Select page of the Import wizard, select BPEL in the CentraSite folder and click Next to define the import parameters.
2. On the Import BPEL page of the Import wizard, specify the following parameters:
*Select the organization to which the BPEL process definitions are to be assigned.
*Specify a version identifier for the new service. The version identifier you enter here is the service's public, user-assigned version identifier. You can enter any string in the Initial Version field, i.e. the version identifier does not need to be numeric. You can also leave this field blank.
*In the File field, specify the path and name of the BPEL file. Use the Browse button to select the file in the file system of your computer.
*In the Product field, you can specify the name of a category of the Products taxonomy by which the process definitions are to be classified in CentraSite. Use the Browse button to select the category in a Select Object Dialog.