CentraSite Documentation : CentraSite Developer's Guide : Access via UDDI : Configuring the UDDI Environment : Configuration Properties : Setting Global and Local UDDI Properties : Setting Global UDDI Properties
Setting Global UDDI Properties
To set global 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 Global Configuration XML</comment>
<entry key="com.centrasite.uddi.UDDIOperatorName">CentraSite</entry>
<entry key="com.centrasite.uddi.UDDIDefaultLanguage">en-US</entry>
<entry key="com.centrasite.uddi.UDDIValueValidation">false</entry>
<entry key="com.centrasite.uddi.UDDIKeyGeneratorChecks">true</entry>
<entry key="com.centrasite.uddi.UDDIDiscoveryURLGeneration">false</entry>
<entry key="com.centrasite.uddi.UDDIEncoding">utf-8</entry>
<entry key="com.centrasite.uddi.UDDISubscriptionDuration">P1M</entry>
<entry key="com.centrasite.uddi.UDDIAuthTokenExpiration">P1D</entry>
<entry key="com.centrasite.uddi.UDDITransferTokenExpiration">P1D</entry>
<entry key="com.centrasite.uddi.UDDIV2Inquiry">true</entry>
<entry key="com.centrasite.uddi.UDDIV2Publish">true</entry>
<entry key="com.centrasite.uddi.UDDISendEmptyWebServiceNotifications">
false
</entry>
<entry key="com.centrasite.uddi.UDDISendEmptyEmailNotifications">
true
</entry>
<entry key="com.centrasite.uddi.UDDIMinimalNotificationInterval">
P0Y0M0DT0H0M30S
</entry>
<entry key="com.centrasite.uddi.UDDINumberOfRetries">3</entry>
<entry key="com.centrasite.uddi.UDDIMaxSubscriptionThreads">5</entry>
</properties>
Descriptions of these properties are as follows:
Global Property
Description
UDDIOperatorName
Sets the operator attribute in UDDI V2 replies. The default value is CentraSite.
UDDIDefaultLanguage
Sets the default language. All valid language identifiers are allowed. The default value is “en-US”.
UDDIValueValidation
Activates or deactivates internal value validation. Valid values: "true" or "false" (default). For more information, see Checked Value Set Validation.
UDDIKeyGeneratorChecks
Activates or deactivates the enforcement of keyGenerator tModels for publisher assigned keys. Valid values: "true" (default) or "false".
UDDIDiscoveryURLGeneration
Activates or deactivates the generation of discoveryURL. Valid values: "true" or "false" (default).
UDDIEncoding
Specifies the XML encoding of the UDDI responses. Valid values: "utf-8" (default) or "utf-16".
UDDISubscriptionDuration
The duration of a registry subscription. You can specify a default subscription expiration period for each UDDI web application separately.
The subscription duration is specified via an xs:duration instance. It specifies a duration in terms of years, months, days, hours, minutes and seconds.
The default value is 1 month (xs:duration(“P1M”)).
How a string holding an xs:duration instance is generated is specified in the XML Schema (Part 2) specification.
For example, to specify a duration of 1 year, 2 months, 3 days, 10 hours and 30 minutes, specify: P1Y2M3DT10H30M. You can also indicate a duration of minus 120 days as: -P120D. Reduced precision and truncated representations of this format are allowed provided they conform to the following: If the number of years, months, days, hours, minutes, or seconds in any expression equals zero, the number and its corresponding designator may be omitted. However, at least one number and its designator must be present. The seconds part may have a decimal fraction. The designator ‘T’ shall be absent if all of the time items are absent. The designator ‘P’ must always be present.
For example, P1347Y, P1347M and P1Y2MT2H are all allowed; P0Y1347M and P0Y1347M0D are allowed. P-1347M is not allowed although –P1347M is allowed. P1Y2MT is not allowed.
Note:  
A UDDI subscription survives an application server restart.
UDDIAuthTokenExpiration
The duration of an authorization token.
This duration is specified via an xs:duration instance. It specifies a duration in terms of years (either 0 or 1), months, days, hours, minutes, and seconds.
The default value is 1 day (xs:duration(“P1D”)).
UDDITransferTokenExpiration
The duration of a transfer token.
This duration is specified via an xs:duration instance. It specifies a duration in terms of years (either 0 or 1), months, days, hours, minutes, and seconds.
The default value is 1 day (xs:duration(“P1D”)).
UDDIV2Inquiry
Enables UDDI V2 Inquiry support. Valid values: "true" (default) or "false".
UDDIV2Publish
Enables UDDI V2 Publish support. Valid values: "true" (default) or "false".
UDDISendEmptyWebServiceNotifications
Specifies whether to allow Web service notifications to be sent even when no changes have occurred. Valid values: "true" (default) or "false".
UDDISendEmptyEmailNotifications
Specifies whether to allow email notifications to be sent even when no changes have occurred. Valid values: "true" or "false" (default).
UDDIMinimalNotificationInterval
The minimum time interval at which to send notifications to subscribers.
This duration is specified via an xs:duration instance. It specifies a duration in terms of years (either 0 or 1), months, days, hours, minutes, and seconds.
The default value is 30 seconds (xs:duration(“P30S”)). The minimal resolution is 10 seconds (as well as the minimal possible value).
UDDINumberOfRetries
The maximum number of times to try to send Web service notifications to subscribers. Valid values: 0 through 10. Default: 3. The value 0 turns off this property (that is, allows for unlimited retries).
Note:  
This property applies only to Web service notifications, not to email notifications.
UDDIMaxSubscriptionThreads
The maximum number of threads for subscriptions. Default: 5.
2. Use the set UDDI command to set the global 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