CentraSite Documentation : CentraSite Developer's Guide : Access via UDDI : Configuring the UDDI Environment : Configuration Properties : UDDI in a Multi-CAST Environment : CAST Registration/Deregistration
CAST Registration/Deregistration
You can register/deregister CASTs (and retrieve a list of CASTs) by executing the following commands in the command line interface CentraSiteCommand.cmd (Windows) or CentraSiteCommand.sh (UNIX) of CentraSite. The tool is located in <CentraSiteInstallDir>/utilities.
If you start this command line tool with no parameters, you receive a help text summarizing the required input parameters.
The parameters of the command are case-sensitive, so for example the parameter -url must be specified as shown and not as -URL.
Retrieving List of Available CASTs
Use the list CAST command to retrieve the list of available CASTs in CentraSite.
The syntax for the command is:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd list CAST [-url <CENTRASITE-URL>] -user <USER-ID>-password <PASSWORD>
The input parameters are:
Parameter
Description
-url
Optional. The URL of the CentraSite registry. Default value is http://localhost:53307.
-user
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.
Example:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd list CAST -url http://localhost:53305/CentraSite/CentraSite -user AdminUser -password AdminPass
The response to this command could be:
Executing the command : list CAST
Successfully executed the command : list CAST
Registering a CAST
Use the add CAST command to register a CAST in CentraSite.
The syntax for the command is:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd add CAST [-url <CENTRASITE-URL>] -user <USER-ID>-password <PASSWORD>
The input parameters are:
Parameter
Description
-url
Optional. The URL of the CentraSite registry. Default value is http://localhost:53307.
-user
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.
Example:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd add CAST -url "http://localhost:53305/CentraSite/CentraSite" -user "AdminUser" -password "AdminPass"
The response to this command could be:
Executing the command : add CAST
Successfully executed the command : add CAST
Deregistering a CAST
Use the remove CAST command to deregister a CAST from CentraSite.
The syntax for the command is:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd remove CAST [-url <CENTRASITE-URL>] -user <USER-ID>-password <PASSWORD>
The input parameters are:
Parameter
Description
-url
Optional. The URL of the CentraSite registry. Default value is http://localhost:53307.
-user
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.
Example:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd remove CAST -url http://localhost:53305/CentraSite/CentraSite -user AdminUser -password AdminPass
The response to this command could be:
Executing the command : remove CAST
Successfully executed the command : remove CAST
Copyright © 2005-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback