You publish a checked categorization tModel entity as the first step in the procedure to add a user-defined value set to the UDDI registry.
This topic describes how to publish a checked categorization tModel entity with the keyName "Checked value set" for a user-defined value set to use.
tModelKey | KeyName | KeyValue | Notes |
---|---|---|---|
uddi:uddi-org:categorization:types | categorization | categorization | To choose this tModelKey in the UDDI registry
user interface, select the category type UDDI Types. This element indicates that this tModel entity is a categorization tModel entity (required). |
uddi:uddi-org:categorization:types | Checked value set | checked | To choose this tModelKey in the UDDI registry
user interface, select the category type UDDI Types. This element indicates that use of the tModel entity is checked against a list of valid data (required). If this keyedReference element is omitted, or a value of unchecked is specified, this indicates that this categorization is unchecked. |
uddi:uddi-org:categorization:general_keywords | urn:x-ibm:uddi:customTaxonomy:displayName | user-defined Value Set displayName | To choose this tModelKey in the UDDI registry
user interface, select the category type categorization:general_keywords. This element indicates special use of the general keywords value set, with a proprietary uniform resource name (URN) as the keyName value, defines a name for the user-defined value set that is intended for use in user console implementations where the full tModel name might be too long. The value can be 1-255 characters (inclusive) long. |
It is advisable to specify a unique name for urn:x-ibm:customTaxonomy:displayName to avoid confusion when it is displayed in user interfaces.
<save_tModel generic="3.0" xmlns="urn:uddi-org:api_v3"> <authInfo></authInfo>> <tModel tModelKey=""> <name>Natural Foods tModel</name> <categoryBag> <keyedReference tModelKey="uddi:uddi.org:categorization:types" keyName="categorization" keyValue="categorization"/> <keyedReference tModelKey="uddi:uddi.org:categorization:types" keyName="Checked value set" keyValue="checked"/> <keyedReference tModelKey="uddi:uddi.org:categorization:general_keywords" keyName="urn:x-ibm:uddi:customTaxonomy:displayName" keyValue="Natural Foods"/> </categoryBag> </tModel> </save_tModel>