Developing Web Services with Java APIs for XML Using WSDP

This chapter focused on business registries, their classification, and methods to access and search business registries. We discussed the categorization of services in business registries on the basis of industry sectors and on the basis of location that makes them easily searchable. We also explained protocols such as SOAP and the major registry standards such as UDDI and ebXML RegRep. After reviewing the structure of registries, we explored the default registry that comes with the JWSDP pack and is used for testing and development purposes. We explained how the Registry Browser, also a part of the JWSDP pack, is used to access a registry and search it, as well as add an organization to it.
Querying techniques were elaborated at length since the major purpose of business registries is to let vendors register themselves and let buyers search them. To clarify the process of querying, we used an example of a simple query that matches a name string pattern and a complex query that searches the registry on the basis of classification. In the process, we described the major JAXR interfaces, classes, and methods that make querying the registry possible. Towards the end of the chapter, we took up JWSDP interfaces, classes, and so on that allow you to programmatically add/delete an organization to/from a registry, and update existing information in the registry. In a nutshell, this chapter covered all aspects relevant to business registries.