Developing Web Services with Java APIs for XML Using WSDP

Web services receive, process (if required), and respond to requests from Web-clients. They encompass any self-contained software component/application or piece of code that can be deployed on a Web server, and subsequently be invoked over the Web by Web-clients. The realm of Web services varies from simple acknowledgement of a client s request to complex business processes. If Web services are to cater to businesses, it is imperative that data on Web services should be categorized to create a semblance of order to make them searchable. In this section, we discuss how Web services can be categorized.
As mentioned in the section, Storage of Metadata about Services, categorization is crucial for proper organization and maintenance of a business registry. Since JAXR APIs are specifically meant for use with business registries, they obviously contain provisions to categorize registry objects.
The ClassificationScheme interface in the javax.xml.registry.infomodel package is a subinterface of the RegistryObject interface and is used to represent a taxonomy that may be used to categorize RegistryObject instances. The RegistryObject class is an abstract class that provides the minimal metadata for various registry objects. For example, in Figure 9.1, Industry is the classification scheme that has been used to categorize the services. If we categorize services or organizations on the basis of their geographical location, then Geography would be the classification scheme. A ClassificationScheme instance can be used to obtain, add, or remove child concepts from a classification scheme.