Software AG Products 10.5 | Using CentraSite | Asset Management | Managing Assets through Command Line Interface | Importing an Asset | Importing BPEL Process
 
Importing BPEL Process
Pre-requisites:
To import a BPEL process through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named ImportBPEL for this purpose.
*To import a BPEL process
*Run the command ImportBPEL.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>ImportBPEL -file bpelFile [-help] [-project <project>] [-nowarning] [-h <host>] [-p <port>] [-dburl <dburl>] -user <user> -password <pwd>
The input parameters and options are:
Parameter
Description
-h <host>
The host name or IP address of the computer where the CentraSite registry or repository component is running.
If you omit this parameter, the importer assumes that the registry or repository is running on localhost.
-p <port>
The port number on which the CentraSite registry or repository is configured to listen for incoming requests.
If you omit this parameter, the importer assumes that the registry or repository is listening on the default port, 53307.
-dburl <dburl>
(Optional). The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite.
Note:
If the registry or repository is running on a different machine and port number, you can use this parameter to specify its location instead of using the individual -h and -p parameters. (If you specify the -dburl parameter with the -h and -p parameters, the -h and -p parameters is ignored.)
-user <user>
The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator.
-password <pwd>
The password for the registered CentraSite user identified by the parameter -user.
-file bpelFile
The absolute or relative path to the BPEL file that you want to import. If relative, the path should be relative to the location from where the command is executed.
-project <project>
(Optional). The project name of an existing project for the BPEL process.
-nowarning
(Optional). Suppresses the warning message that the importer issues if the BPEL process references a BPEL Partner Link Type that refers to a web service that is not present in the CentraSite registry.
-help
(Optional). Display the full description of ImportBPEL command (with detailed parameters and options description).
Example (all in one line):
The command for importing a BPEL process file into CentraSite running on localhost with an administrator account INTERNAL\Admin and password AdminPW would be:
C:\SoftwareAG\CentraSite\utilities>ImportBPEL -dburl http://localhost:53307/CentraSite/CentraSite -user INTERNAL\Admin -password AdminPW -file c:/tmp/MyBPEL.bpel