11.11. Querying UDDI

Instead of repeating the API reference information which is readily available in UDDI's API Specification, I will show you how to use the APIs to accomplish common tasks. The examples in this section coupled with the UDDI learning aid explained above will have you writing your own UDDI applications in no time.

11.11.1. Finding a Business by Name

The simplest UDDI search is finding a business by name. This is a good starting example because it is simple and easy to learn. Listing 11.10 shows example request and response messages without the SOAP Envelope and Body elements.

Listing 11.10. Example find_business request and response messages
 <!-- find business by name request --> <find_business generic="2.0" maxRows="50" xmlns="urn:uddi-org:api_v2"> ...

Get Real World XML Web Services: For VB and VB .NET Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.