Team LiB
Previous Section Next Section

Chapter 18: Web Services

Web Services Basics

Web Services is the sister distributed application component to Remoting, designed specifically for Internet solutions that require platform generic implementations. This technology is based on stateless HTTP, XML, and SOAP.

The general idea is that clients of any type can make requests to a Web Service and receive that data back via XML. Web Services are published to the world via directories at places like UDDI.org, Xmethods.com, and UDDI.microsoft.com . Clients can query this directory and receive what is called a DISCO file, which contains information about the service in XML format. After receiving this information, the client can then query the service via the Web Services Description Language (WSDL). The client can then produce a proxy, which allows it to call methods on the service and retrieve data. This proxy is what does the magic of converting the method calls into SOAP and finally sending this data to the server via HTML.


Team LiB
Previous Section Next Section