Setting Local UDDI Properties
Note: The UDDI representation of local properties is based on the general approach of mapping jaxr:Slots to UDDI.
To set local properties
1. Create an XML configuration file that contains the following predefined UDDI properties. This file should be in Java XML properties format.
For example:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE properties (View Source for full doctype...)>
<properties version="1.0">
<comment>Test UDDI Local Configuration XML</comment>
<entry key="com.centrasite.uddi.UDDIMaxResultSize">*</entry>
<entry key="com.centrasite.uddi.UDDIMaxSearchKeys">*</entry>
<entry key="com.centrasite.uddi.UDDIMaxSearchNames">*</entry>
<entry key="com.centrasite.uddi.UDDIHTTPGetServicesUrl">
http://localhost:53307/UddiRegistry</entry>
<entry key="com.centrasite.uddi.UDDIResponseValidation">false</entry>
<entry key="com.centrasite.uddi.UDDIRequestValidation">false</entry>
</properties>
Descriptions of these properties are as follows:
Local Property | Description |
UDDIMaxResultSize | Specifies the maximum inquiry result size. Default: An unlimited size (denoted by *). |
UDDIMaxSearchKeys | Specifies the maximum number of search keys returned by an inquiry. Default: An unlimited number (denoted by *). |
UDDIMaxSearchNames | Specifies the maximum number of search names returned by an inquiry. Default: An unlimited number (denoted by *). |
UDDIHTTPGetServicesUrl | Holds the URI for the HTTP Get calls to retrieve UDDI objects from the registry. Default value: http://localhost:53307/UddiRegistry. |
UDDIResponseValidation | Enables schema validation on UDDI V2 and V3 responses. Valid values: true or false (default). Note: The appropriate schema file should be stored in the CentraSite repository, in the /projects/uddi folder. |
UDDIRequestValidation | Enables schema validation on incoming UDDI V2 and V3 requests. Valid values: true or false (default). Note: The appropriate schema file should be stored in the CentraSite repository, in the /projects/uddi folder. |
2. To set the local UDDI properties in CentraSite, run the command set UDDI.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd set UDDI [-url <CENTRASITE-URL>] -user <USER-ID> -password <PASSWORD> -file <CONFIG-FILE>
If you start this command line tool with no parameters, you receive a help text summarizing the required input parameters.
The input parameters are:
Parameter | Description |
CENTRASITE-URL | (Optional). The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite. |
USER-ID | The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator. |
PASSWORD | The password for the registered CentraSite user identified by the parameter USER-ID. |
CONFIG-FILE | The absolute or relative path to the XML configuration file. If relative, the path should be relative to the location from where the command is executed. |
The parameters of the command are case-sensitive, so for example the parameter -url must be specified as shown and not as -URL.
If you omit the passwords from the command, you are prompted to provide them.
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd set UDDI -url http://localhost:53307/CentraSite/CentraSite -user AdminUser -password AdminPass -file config.xml
The response to this command could be:
Executing the command : set UDDI
Successfully executed the command : set UDDI