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. Execute the following command in this format:
CentraSiteCommand set UDDI [-url <CENTRASITE-URL>]
-user <USER-ID> -password <PASSWORD>
-file <CONFIG-FILE>
The following table describes the complete set of input parameters that you can use with the set UDDI utility:
Parameter | Description |
-url | The fully qualified URL (http://localhost:53307/CentraSite/CentraSite) for the CentraSite registry/repository. |
-user | The user ID of a user who has the CentraSite Administrator role. |
-password | The password of the user identified by the parameter -user. |
-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. |
For example:
CentraSiteCommand set UDDI -url http://localhost:53307/CentraSite/CentraSite
-user AdminUser -password AdminPass -file config.xml