CentraSite 10.5 | CentraSite User’s Guide | Asset Management | Managing Assets through Command Line Interface | Importing an Asset
 
Importing an Asset
 
Importing Web Service
Importing REST Service
Importing OData Service
Importing XML Schema
Importing BPEL Process
Importing XPDL File
Importing Archive
An importer generates a catalog entry for an asset from a particular type of input file. For example, the Web service importer installed with CentraSite reads a WSDL file and from it, generates an asset instance for the service that the WSDL describes. In most cases, the importer also uploads the input file to the CentraSite repository and links the file to the asset. When you import a Web service from a WSDL file, for example, the importer copies the WSDL file into the repository and then links the file to the asset instance for the Web service.
The following table lists the importers installed with CentraSite and identifies the types of files they require as input:
To import this asset...
You must supply this type of file...
Web Service (including Abstract Service)
Web Service Definition Language (WSDL) file.
REST Service
RESTful API Modeling Language (RAML) file.
Swagger file.
OData Service
Entity Data Model XML (EDMX) file.
XML Schema
XML Schema Definition (XSD) file.
BPEL
Business Process Execution Language for Web Services (BPEL) file.
Process
XML Process Definition Language (XPDL) file.
Archive
A file that was previously exported from CentraSite Control.
Each importer includes a command line tool, which allows it to be executed from the command line CentraSiteCommand.cmd (Windows) or a terminal CentraSiteCommand.sh (UNIX) of CentraSite. The command is followed by a list of appropriate input parameters and options. The parameters are key-value pairs, where the key starts with a hyphen. An option is a switch that modifies the behavior of the command and is preceded by a hyphen. Using the -help option lists all available input parameters and options with a short description.