Chapter 9. Adding custom Category_Identifier systems for Organizations_Services_Endpoints

compared with
Version 6 by Sandra TRINO
on Feb 25, 2010 17:08.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (7)

View Page History
Don't remove standard TModels from "base-tmodels.xml". They are Petals Master requirements. {warning}
\\

h1. {color:#003f80}{*}9.1.*{color} {color:#003f80}{*}Adding{*}{color} {color:#003f80}{*}custom{*}{color} {color:#003f80}{*}categorization{*}{color} {color:#003f80}{*}system{*}{color} {color:#003f80}{*}and{*}{color} {color:#003f80}{*}associated{*}{color} {color:#003f80}{*}values{*}{color}

The *tModel* element : a category system is a TModel in UDDI taxonomy. You could specify a key for this TModel with the *tModelKey* attribute. If you don't specify any key, Petals Master will generate a key for you. Keys must have the following form "uddi:$\{root.domain\}:_anythingElse_". For example, if the root domain specified in dragon.properties file is "mycompany.com", a valid key is "uddi:mycompany.com:foobar". If the key is generated by Petals Master, it will have the following form "uddi:$\{root.domain\}:_uuid_" where _uuid_ is an auto-generated unique identifier.

{warning}{color:#cc0000}{*}Caution{*}{color}

if you specify your own keys, you're in charge of the unicity.{warning}

The *name* element : the name of the category system. Will be used to represent the category system in UI.



*overviewDoc* elements : they have two main purposes. A descriptive purpose. In this case, it will embed an *overviewUrl* element of *useType* "text", that point to a description URL. It will be used to provide a more detailed description of the category system. overviewDoc could also be used to specify a value set for this category system. In this case, it will embed an *overviewUrl* element of *useType* "valueSet", that point to a file listing all values and their related description. This value set file is a text file, each line is a "_value_" _"description_" couple separated by ";" character :



{warning}{color:#cc0000}{*}Caution{*}{color}
if you specify your own keys, you're in charge of the unicity. {warning}

The *name* element : the name of the identifier system. Will be used to represent the identifier system in UI. 



 
*overviewDoc* elements : in the identifier case, they have only one main purpose, a descriptive purpose. In this case, it will embed an *overviewUrl* element of *useType* "text", that point to a description URL. It will be used to provide a more detailed description of the identifier system.