Publishing a Web Service
Once you have set up your server to host a web service, you need to inform potential clients of its existence. Additionally, you might want to access a web service published by someone else. These are both jobs for UDDI.
Tip
The UDDI specifications are maintained by OASIS, and as of this writing version 3.0 is available. However, I’ll be referring to UDDI Version 2.04 in this chapter because Microsoft is currently only supporting the 1.x and 2.x releases of the specification.
The UDDI data model
The UDDI data model, described in an XML Schema, consists of five basic information elements. The following lists the elements of the UDDI document:
-
businessEntity
The
businessEntity
element represents information about an entity that has published information about its services; it need not be a business per se. AbusinessEntity
is uniquely identified by abusinessKey
, which is a universally unique identifier (UUID). ThebusinessEntity
contains additional information, including thename
,description
,contact
s, alternate discovery URLs,identifier
s such as Dun & Bradstreet D-U-N-S® Number, andcategory
s such as ISO 3166 Geographic Taxonomy. ThebusinessEntity
element also contains thebusinessService
elements. Allname
anddescription
elements in the UDDI document may have an optional language specified by thexml:lang
element.-
businessService
The
businessService
element represents information about the web service published by abusinessEntity
. It ...
Get .NET & XML now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.