Web Services Invocation Framework:
Java implementation of the StockQuoteService

Take a look at the StockQuoteService.java file in this directory.

This class implements the stock quote service functionality advertised in the sample WSDL. This implementation actually uses HTTP GET to communicate with a remote web site that returns the quote for a given stock symbol; of course it could also look up a local table of stock quotes; the details are completely hidden from the code that accesses the class. Note that the WSDL file refers to this class as the service endpoint in the java:address element.