CentraSite Documentation : CentraSite Administrator’s Guide : Importing Objects Using the API : Invoking an Importer From the Command Line : Importing an XML Schema
Importing an XML Schema
Use the ImportSchema command to import an XML schema into CentraSite.
The syntax for the command is:
C:\SoftwareAG\CentraSite\utilities>ImportSchema.cmd|sh -user <USERNAME> -password <PASSWORD> [-dburl <CENTRASITE-URL> | [[-h <HOSTNAME>] [-p <PORT>]]] -s <XSD-FILE> [-noover]
The input parameters and options are:
Parameter
Description
USERNAME
The user ID of a registered CentraSite user. For example, a user who has the CentraSite Administrator role.
PASSWORD
The password for the registered CentraSite user identified by the parameter -user.
CENTRASITE-URL
(Optional) The URL of the CentraSite registry. Default value is http://localhost:53307.
Note:  
If the registry/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/or -p parameters, the -h and -p parameters will be ignored.)
HOSTNAME
The host name or IP address of the computer where the CentraSite registry/repository component is running.
If you omit this parameter, the importer assumes that the registry/repository is running on localhost.
PORT
The port number on which the CentraSite registry/repository is configured to listen for incoming requests.
If you omit this parameter, the importer assumes that the registry/repository is listening on the default port, 53307.
XSD-FILE
Required. The absolute or relative path to the schema file that you want to import. If relative, the path should be relative to the location from where the command is executed.
Option
Description
-noover
Prevents the importer from overwriting an XML schema if it is already present in the registry.
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback