CentraSite Documentation : CentraSite Administrator’s Guide : Importing Objects Using the API : Invoking an Importer From the Command Line : Importing a Web Service
Importing a Web Service
To import a Web service in CentraSite registry, use a command ImportWSDL of the following format:
On Windows
ImportWSDL.cmd -user <USERNAME> -password <PASSWORD> [-dburl <CENTRASITE-URL> |
[[-h <HOSTNAME>] [-p <PORT>]]] -o <ORGANIZATION> -w <WSDL-FILE-PATH>
On UNIX
ImportWSDL.sh -user <USERNAME> -password <PASSWORD> [-dburl <CENTRASITE-URL> |
[[-h <HOSTNAME>] [-p <PORT>]]] -o <ORGANIZATION> -w <WSDL-FILE-PATH>
Input Parameters
The following table describes the complete set of input parameters that you can use with the ImportWSDL utility:
Parameter
Description
USERNAME
Required. Your CentraSite user ID.
PASSWORD
Required. The password for your CentraSite user account.
CENTRASITE-URL
The fully qualified URL for the CentraSite registry/repository.
If you omit this parameter, the importer assumes that the registry/repository resides at http://localhost:53307/CentraSite/CentraSite.
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.
ORGANIZATION
Required. The name of the organization into which you want to import the Web service. If the organization name contains a space, enclose the name in double-quotes.
WSDL-FILE-PATH
Required. The absolute or relative path to the WSDL file that you want to import. If relative, the path should be relative to the location from where the command is executed.
Copyright © Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback