The UDDI XML.org web site is not longer accepting new posts. Information on this page is preserved for legacy purposes only.
tModel question ?
Forum topic: Submitted by NARZE on Thu, 2007-10-04 23:44.
I should create a tModel for representing a specification telling how a web service behaves.
This should be a specification tModel.
When I refer this tModel from inside other tModels with a keyedReference element I put the tModel key in the field tModelKey but what will be the values for the keyName and keyValue filed? Since this is a specification tModel I have no categories.
This should be a specification tModel.
When I refer this tModel from inside other tModels with a keyedReference element I put the tModel key in the field tModelKey but what will be the values for the keyName and keyValue filed? Since this is a specification tModel I have no categories.
re: tModel question ?
Please refer to the example at Appendix B.2.2 of the UDDI Spec - http://uddi.org/pubs/uddi_v3.htm
B.2.2 Using the "wsdlInterface" value
The "wsdlInterface" value signifies that a WSDL file is located at this resource. Such a WSDL file has no implementation information, but exists purely as an abstract interface document. Using this convention within a tModelInstanceInfo is not appropriate.
For example, the tModel below has two overviewDocs. The first, which uses the "wsdlInterface" value, denotes that the overviewURL points to WSDL file. The second overviewDoc provides additional information about the tModel, using the "text" value.
<tModel tModelKey="uddi:tempuri.org:catalog_interface">
<name>urn:tempuri.org:catalog_interface</name>
<description>This WSDL interface has a set of APIs for querying the catalog service.</description>
<overviewDoc>
<overviewURL useType="wsdlInterface">
http://www.tempuri.org/wsdl/catalog_interface.wsdl
</overviewURL>
</overviewDoc>
<overviewDoc>
<overviewURL useType="text">
http://www.tempuri.org/wsdl/interface_info.pdf
</overviewURL>
</overviewDoc>
<categoryBag>
<keyedReference keyName="uddi-org:types:wsdl"
keyValue="wsdlSpec"
tModelKey="uddi:uddi.org:categorization:types"/>
<keyedReference keyName="uddi-org:types:soap"
keyValue="soapSpec"
tModelKey="uddi:uddi.org:categorization:types"/>
<keyedReference keyName="uddi-org:types:xml"
keyValue="xmlSpec"
tModelKey="uddi:uddi.org:categorization:types"/>
<keyedReference keyName="uddi-org:types:specification"
keyValue="specification"
tModelKey="uddi:uddi.org:categorization:types"/>
</categoryBag>
</tModel>