CentraSite Documentation : CentraSite Developer's Guide : Access via UDDI : UDDI Representation of the Object Model : Attributes : Document Attributes
Document Attributes
CentraSite supports two different documents types:
*reference: This type is used for referencing documents that can be shared between registry objects. These are also called supporting documents.
*contains: This type is used for documents that belong exclusively to the definition of a registry object. Examples are WSDL and schema documents that define a Web service.
For tModels and instanceDetails, documents are represented in a uddi:overviewDoc element, as follows.

<overviewDoc>
<description>
sample category/Documentation
</description>
<overviewUrl useType="uddi:centrasite.com:attributes:document:reference">
http://10.22.21.94:2020/...
</overviewUrl>
</overviewDoc>
<overviewDoc>
<description>
sample Asset File
</description>
<overviewUrl useType="uddi:centrasite.com:attributes:document:contains">
http://10.22.21.94:2020/...
</overviewUrl>
</overviewDoc>
For all other UDDI objects, a modified uddi:keyedReferenceGroup-based approach is used, which conforms to the UDDI specification:
<categoryBag>
<keyedReferenceGroup
tModelKey="uddi:centrasite.com:attributes:document:reference">
<keyedReference
tModelKey="uddi:uddi.org:categorization:general_keywords"
keyName="sample category/Documentation"
keyValue="http://10.22.21.94:2020/..."/>
</keyedReferenceGroup>
<keyedReferenceGorup
tModelKey="uddi:centrasite.com:attributes:document:contains"
<keyedReference
tModelKey="uddi:uddi.org:categorization:general_keywords"
keyName="Asset File" keyValue="http://10.22.21.94:2020/..."/>
</keyedReferenceGroup>
</categoryBag>
For both document types (reference and contains), a separate uddi:keyedReferenceGroup is needed. The uddi:tModelKey of the uddi:keyedReferenceGroup specifies the document type. For each document type, a separate uddi:tModel is defined. Each udddi:keydReference represents a single document. The uddi:tModelKey points to uddi:uddi.org:categorization:general_keywords, to add meaning to the uddi:keyName. The uddi:keyName specifies the location of the file and the uddi:keyValue holds the URL of the document. All uddi:keyedReferences representing documents of one type are stored in a single uddi:keyedReferenceGroup.
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback