CentraSite Documentation : CentraSite Developer's Guide : Access via UDDI : Configuring the UDDI Environment : Configuration Properties : Setting Global and Local UDDI Properties : Setting Local UDDI Properties
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. Use the set UDDI command to set your local UDDI properties in CentraSite.
The syntax for the command is:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd set UDDI [-url <CENTRASITE-URL>] -user <USER-ID>-password <PASSWORD>-file <CONFIG-FILE>
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.
-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.
Example:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd set UDDI -url http://localhost:53305/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
Copyright © 2005-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback