• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 11. XML and Web Services > XML for Communications—Web Services

XML for Communications—Web Services

Web services are simply application logic made accessible over the Web. As a rather trivial example, consider a shipping rate calculator provided by a logistics company. Such calculators have been available as interactive Web pages for several years. As shown in Figure 11-5, turning such a calculator into a Web service requires the following steps.

1.
Encapsulate the logic of the calculator, but not the user interface, into a subroutine.

2.
Define the API for the calculator using the Web Services Definition Language (WSDL).

3.
Host the subroutine on a Web server supporting the Simple Object Access Protocol (SOAP).

4.
Publish the calculator definition to an appropriate UDDI (Universal Description, Discovery, and Integration) directory.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint