| |
| |
Web ServicesThis season's perspective is on Web Services written by Steve McMenamin Among the many ways devised to enable humans to use software running on distant computers, HTML transported over HTTP and presented via a web browser is surely the most successful yet. By using this relatively simple, accessible message format, applications can be used by people all over the world without installing custom client software on their computers.
Finding a Web Service In the simplest case, you could learn about a web service in the normal course of communicating with your friends, co-workers and business partners. Universal Description, Discovery and Integration (UDDI) offers a more structured approach. UDDI is a standard for establishing and using registries of web services. A company could establish its own private registry of web services available internally, or to its partners and customers. There also are several public UDDI registries that anyone can search, and to which anyone can publish the availability of their own web services. Understanding a Web Service Once
you identify a web service that you'd like to use, you need to know how
it works: What kinds of messages does it respond to? What does it expect
each message to look like? What messages does it return, and how do you
interpret the responses? The Web Services Description Language (WSDL) provides a way to declare what messages
are expected and produced by a web service, with enough information about
their contents to enable using the service successfully with little or no
additional information. When you create a web service, you can create a
description of the service using WSDL and distribute the description file
(often called a WSDL file) to prospective users of the web service, either
directly or by including a link to the WSDL file in a UDDI registry entry.
|