Web Services, Part X: Consuming the StockQuote
A Final Word
In this column we continued our series on Web services. In this column we practiced ideas and techniques we brought to you previously in this series. We showed you how to call (consume) the
StockQuote Web service with the DHTML
webservice behavior. We explained how to write the request and how to handle the response. We showed you the XML response and how to convert it to an HTML table that can be displayed by your client browser. We gave you a link to demonstrate the Web service consumption directly from our server.
In this column you have learned:
- How to write the HTML section of the caller
- How to write the request handling function
- How to write the response handling function
- How to interpret the XML response
- How to convert the XML response to HTML
You could download all of the files shown here (
stock.xsl) directly from this zipped file.