Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


October 03, 2002

Introducing UDDI 3.0: Changes to the Discovery Model

How users and applications find the files they need in a UDDI registry
RSS
Subscribe to Windows IT Pro | See More .NET Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

In the previous four issues of .NET UPDATE, I've examined changes to the Universal Description, Discovery, and Integration (UDDI) 3.0 specification. In this issue, I explain how the UDDI specification improves the discovery model—that is, how users and applications can find the files they need in a UDDI registry. These changes include query nesting, new ways of tailoring the results of a search, extended support for wildcards, and a method of breaking large numbers of results into manageable pieces.

Complex Queries
Three of the "find" APIs that users and applications employ to search UDDI registries—find_binding, find_business, and find_service—support nested queries. In a nested query, one or more of the arguments that a user or application supplies to these APIs can be another query; the query results are filtered according to both queries instead of only the topmost one. Working with one nested query, an API can find information that otherwise would require at least two unnested queries. Such complex querying lets users and applications focus a search more easily and reduces the number of searches required to achieve targeted results.

New Find Qualifiers
Even if a search doesn't need complex queries, find qualifiers might be necessary to focus the results of that search. A find qualifier limits the results of a search. For example, you can use a find qualifier to make a search case sensitive or to search for matches that are similar to the search criteria but not identical to it. (You must specify this behavior when setting up a query because, by default, UDDI returns only exact matches.) UDDI 3.0 supports both tModel keys with find qualifiers and short names representing find qualifiers; UDDI 3.0-compliant registries must support both methods. Not all search APIs support all find qualifiers; a table in the UDDI 3.0 specification lists search APIs, the qualifiers each API supports, and the correct syntax. New to UDDI 3.0 is a standard for wildcard syntax that uses the SQL-99 format of substituting a percent sign (%) for any number of characters and an underscore (_) for a single character.

Paging Through Results
Complex queries and find qualifiers can focus a search of a UDDI registry, but the result set might still be too large to take in at one gulp. Therefore, just as Google placed the 612 results of my query "UDDI, discovery, limit results to microsoft.com" onto multiple pages at 10 results per page, a UDDI query can use the listdescription element to organize the results of a search into pages. The optional listdescription element has three values: includecount (the total number of matches for a particular query), actualcount (the number of all available matches at the time the query was made), and listhead (the index position of the first element of the returned result set within all available matches after any sorting has been applied). If a result set is too large to be returned within one group, it will contain the listdescription element with a listhead value that indicates the first match in that result set. For example, if the result set displays matches 10 through 20, then the listhead value for the first match displayed will be 10. The listhead value is not permanently associated with any particular match—it's only a placeholder that tells listdescription where to start displaying results if a display begins with a particular element.

For more details, and to examine the complete UDDI 3.0 specification, go to
http://uddi.org/pubs/uddi_v3.htm

End of Article



Reader Comments

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...

PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...

Escape From Yesterworld

Kevin points you to the funniest SQL Server website ever! ...


.NET Whitepapers Batch Job Scheduling and .NET in 2008

Related Events Virtualization, Automation and Databases

Delivering Reliable and Effective Web-Based Applications

Making Web Application Perform Better: What to Watch, How to Watch It, and How to Fix It

Check out our list of Free Email Newsletters!

Related .NET Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing