Books
in black and white
Main menu
Share a book About us Home
Books
Biology Business Chemistry Computers Culture Economics Fiction Games Guide History Management Mathematical Medicine Mental Fitnes Physics Psychology Scince Sport Technics
Ads

the semantic web a gide to the future of XML, Web Services and Knowledge Management - Daconta M,C.

Daconta M,C. the semantic web a gide to the future of XML, Web Services and Knowledge Management - Wiley publishing , 2003. - 304 p.
ISBN 0-471-43257-1
Download (direct link): thesemanticwebguideto2003.pdf
Previous << 1 .. 27 28 29 30 31 32 < 33 > 34 35 36 37 38 39 .. 116 >> Next

In Figure 4.5, the Web service developer creates a WSDL description with developer tools that inspect the Web service's SOAP interface layer in Step 1. In Step 2, the client application generates the code for handling the Web service (its SOAP handler) by looking at the WSDL. Finally, in Step 3, the client application and the Web service can communicate.
Now that we know the language that Web services speak (SOAP), and how the messages are defined (WSDL), how can we find the Web services that we need? We discuss this in the next section.
A
WSDL
1. INSPECTION 2. WSDL
Web AND INSPECTION
Service WSDL AND SOAP Client App
GENERATION MESSAGE
GENERATION
A k.
3. COMMUNICATION
r
Figure 4.5 Dynamic communication by inspecting WSDL.
Understanding Web Services
69
How to Discover Web Services
If you know where Web services are and you know what they do, you can easily get software to communicate with them. However, if you would like to search for Web services based on the features they provide and then dynamically connect to them and use them, you will need a Web service registry. Finding Web services based on what they provide introduces two key registry technologies: UDDI (Universal Description, Discovery, and Integration) and ebXML registries. UDDI, introduced in 2000 by Ariba, Microsoft, and IBM, was created to facilitate the discovery of business processes. OASIS introduced ebXML in 1999 to focus the EDI (Electronic Data Interchange) community into consistent use of XML and standard protocols. Part of this effort, ebXML registries, is used for the discovery of ebXML business details. Both of these technologies are worth discussing, and while they may seem to be competing technologies, it is possible that they may complement each other in the evolution of Web services.
What Is UDDI?
Universal Description, Discovery, and Integration is an evolving technology and is not yet a standard, but it is being implemented and embraced by major vendors. Simply put, UDDI is a phone book for Web services. Organizations can register public information about their Web services and types of services with UDDI, and applications can view information about these Web services with UDDI. UDDI allows you to discover Web services just like network discovery tools (such as "My Network Places") can discover nodes on a network.
The information provided in a UDDI business registration consists of three components: white pages of company contact information, yellow pages that categorize businesses by standard taxonomies, and green pages that document the technical information about services that are exposed. Figure 4.6 demonstrates this concept. A business's white pages may include basic business information, such as a description of the business in different languages, points of contact with email addresses and phone numbers, and links to external documents that describe the business in more detail. The yellow pages describe taxonomies of what kinds of information the services provide. Finally, the green pages show information on how to do business with the Web service, listing business rules and specifying how to invoke Web services (the WSDL).
What we have described has two functions: registration of information by a business about its Web services and discovery by organizations who would like to "browse" information about the business and the services it provides. The business can decide what it would like to register about itself in a registry, and once the information is in there, applications can discover and browse the information, getting information on how to do business with the organization.
70
Chapter 4
UDDI REGISTRY
WHITE PAGES YELLOW PAGES GREEN PAGES
• Business Name • Services and Products • ebusiness Rules
• Contact Information • Industry Codes • Service Descriptions
• Description • Geographic Index • WSDL
Figure 4.6 A UDDI Registry as a conceptual phone book.
Obviously, there may be security concerns about placing information in a public registry. Although it can be seen that such a technology could be very powerful in a dynamic ebusiness environment, placing information about all of your assets in a public registry may be risky. Much like your Internet's Web pages, your organization will need to decide what information it would like to publish publicly in a UDDI registry.
For internal integration, the use of UDDI private registries may be where much value is today. Within a large organization, where several large enterprise applications may need to interoperate in the future, the use of UDDI registries within the organization can be helpful for discovering how to do so. The use of such a private registry, where Web services are described with WSDL and other information, could potentially minimize the use of interoperation documentation. Using such a registry, in addition to WSDL and SOAP, could reduce integration and development time for legacy enterprise applications. Once applications have been SOAP-enabled, and once the interfaces have been described in WSDL and published in a private UDDI registry, programs and projects within your organization can dynamically connect and begin to interoperate.
Previous << 1 .. 27 28 29 30 31 32 < 33 > 34 35 36 37 38 39 .. 116 >> Next