Project 4

cscie259.project4.warehouse
Class Purchasing

java.lang.Object
  extended bycscie259.project4.warehouse.Purchasing

public class Purchasing
extends java.lang.Object

This class is treated by Tomcat (or, more specifically, by Axis) as a web service; it processes purchase orders.

Any references to the local file system are resolved with respect to project4-6.0/.

The class does not utilize a javax.xml.transform.URIResolver, since it's not technically a servlet (i.e., it doesn't extend javax.servlet.http.HttpServlet).

You MAY modify this file.

Version:
6.0
Author:
Computer Science E-259, YOUR NAME GOES HERE

Nested Class Summary
private  class Purchasing.AnErrorListener
          Handle processing errors.
 
Field Summary
private static java.lang.String warehouseDir
           
 
Constructor Summary
Purchasing()
           
 
Method Summary
 java.lang.String processPO(java.lang.String poXmlString)
          Processes the given PO element, provided in the form of a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

warehouseDir

private static final java.lang.String warehouseDir
See Also:
Constant Field Values
Constructor Detail

Purchasing

public Purchasing()
Method Detail

processPO

public java.lang.String processPO(java.lang.String poXmlString)
Processes the given PO element, provided in the form of a String.

Parameters:
poXmlString - String containing PO element
Returns:
String containing PO-ACK element

Project 4