CentraSite Documentation : CentraSite Administrator’s Guide : Importing Objects Using the API : Invoking an Importer from a Java Class : Executing the Script File That Invokes an Importer : Importing a Web Service
Importing a Web Service
 
Invoking the Web Service Administrator from the Command Line
To import a Web service, run your importer script file with the following required input parameters:
yourScriptFile -w wsdlFile -o orgName -user yourCSUserID -password yourPassword
Example:
myScript -w d:\myDirectory\myWSDLFile.wsdl -o Customer Service -user jcambrose -password j45Hk19a
The input parameters are:
Parameter
Description
-w wsdlFile
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.
-o orgName
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.
-user yourCSUserID
The user ID of a registered CentraSite user. For example, a user who has the CentraSite Administrator role.
-password password
The password for the registered CentraSite user identified by the parameter -user.
-h 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.
-p portNumber
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.
-dburl 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.
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback