UDDI - Data Model


UDDI includes an XML Schema that describes the following data structures:

  • businessEntity
  • businessService
  • bindingTemplate
  • tModel
  • publisherAssertion

businessEntity Data Structure

The business entity structure represents the provider of web services. Within the UDDI registry, this structure contains information about the company itself, including contact information, industry categories, business identifiers, and a list of services provided.

Here is an example of a fictitious business's UDDI registry entry:

<businessEntity businessKey="uuid:C0E6D5A8-C446-4f01-99DA-70E212685A40"
   operator="http://www.ibm.com" authorizedName="John Doe">
   <name>Acme Company</name>
      We create cool Web services
      <contact useType="general info">
         <description>General Information</description>
         <personName>John Doe</personName>
         <phone>(123) 123-1234</phone>
      <keyedReference tModelKey="UUID:8609C81E-EE1F-4D5A-B202-3EB13AD01823"  name="D-U-N-S" value="123456789" />
      <keyedReference tModelKey="UUID:C0B9FE13-179F-413D-8A5B-5004DB8E5BB2"  name="NAICS" value="111336" />			

businessService Data Structure

The business service structure represents an individual web service provided by the business entity. Its description includes information on how to bind to the web service, what type of web service it is, and what taxonomical categories it belongs to.

Here is an example of a business service structure for the Hello World web service.

<businessService serviceKey="uuid:D6F1B765-BDB3-4837-828D-8284301E5A2A"
   <name>Hello World Web Service</name>
   <description>A friendly Web service</description>
   <categoryBag />

Notice the use of the Universally Unique Identifiers (UUIDs) in the businessKey and serviceKey attributes. Every business entity and business service is uniquely identified in all the UDDI registries through the UUID assigned by the registry when the information is first entered.

bindingTemplate Data Structure

Binding templates are the technical descriptions of the web services represented by the business service structure. A single business service may have multiple binding templates. The binding template represents the actual implementation of the web service.

Here is an example of a binding template for Hello World.

<bindingTemplate serviceKey="uuid:D6F1B765-BDB3-4837-828D-8284301E5A2A"
   <description>Hello World SOAP Binding</description>
   <accessPoint URLType="http">http://localhost:8080</accessPoint>
      <tModelInstanceInfo tModelKey="uuid:EB1B645F-CF2F-491f-811A-4868705F5904">
                  references the description of the WSDL service definition

As a business service may have multiple binding templates, the service may specify different implementations of the same service, each bound to a different set of protocols or a different network address.

tModel Data Structure

tModel is the last core data type, but potentially the most difficult to grasp. tModel stands for technical model.

tModel is a way of describing the various business, service, and template structures stored within the UDDI registry. Any abstract concept can be registered within the UDDI as a tModel. For instance, if you define a new WSDL port type, you can define a tModel that represents that port type within the UDDI. Then, you can specify that a given business service implements that port type by associating the tModel with one of that business service's binding templates.

Here is an example of a tModel representing the Hello World Interface port type.

<tModel tModelKey="uuid:xyz987..." operator="http://www.ibm.com"    authorizedName="John Doe">
   <name>HelloWorldInterface Port Type</name>
      An interface for a friendly Web service

publisherAssertion Data Structure

This is a relationship structure putting into association two or more businessEntity structures according to a specific type of relationship, such as subsidiary or department.

The publisherAssertion structure consists of the three elements: fromKey (the first businessKey), toKey (the second businessKey), and keyedReference.

The keyedReference designates the asserted relationship type in terms of a keyName keyValue pair within a tModel, uniquely referenced by a tModelKey.

<element name="publisherAssertion" type="uddi:publisherAssertion" />
<complexType name="publisherAssertion">
      <element ref="uddi:fromKey" />
      <element ref="uddi:toKey" />
      <element ref="uddi:keyedReference" />