README Computer Science E-259 OVERVIEW In these directories are two client-server pairs, one that demonstrates Project 4's warehouse and one that demonstrates a tax service. Each's usage is documented below. TAXES To access TaxService.jws as a web service, simply do the following. 1. Spawn Tomcat from within examples11/server/, after specifying in examples11/server/conf/server.xml the ports desired. 2. Execute the following command (which, unfortunately, wraps onto a second line) from within examples11/clients/taxes/. java org.apache.axis.wsdl.WSDL2Java "http://$ICEBOX.fas.harvard.edu:n/taxes/TaxService.jws?wsdl" 3. Edit the first line of examples11/clients/taxes/TaxClient.java so that the appropriately named package is imported. The first line of that file, at present, is import edu.harvard.fas.ice1.taxes.TaxService_jws.*; because we whipped up this demo on ice1.fas.harvard.edu. 4. Execute the following commands from within examples11/clients/taxes/. javac TaxClient.java java TaxClient You should see the result of the service's performing the various calculations specified in TaxClient.java. WAREHOUSE To access Project 4's warehouse as a web service, simply do the following. 1. Spawn Tomcat from within examples11/server/, after specifying in examples11/server/conf/server.xml the ports desired. 2. In another terminal, execute the following command (which, unfortunately, wraps onto a second line) from within examples11/clients/warehouse/. java org.apache.axis.wsdl.WSDL2Java "http://$ICEBOX.fas.harvard.edu:n/warehouse/services/Purchasing?wsdl" 3. Edit the first line of examples11/clients/warehouse/PurchasingClient.java so that the appropriately named package is imported. The first line of that file, at present, is import edu.harvard.fas.ice1.warehouse.services.Purchasing.*; because we whipped up this demo on ice1.fas.harvard.edu. 4. Execute the following commands from within examples11/clients/warehouse/. javac PurchasingClient.java java PurchasingClient You should see the result of the service's application of po-ack.xsl to the empty element passed to the service by PurchasingClient.