private String generateResponse(Map<String, String> args) {
        OrderAction command = OrderAction.valueOf(args.get("action"));

        //http://localhost:8000/order?Action=ADD&orderid=1&miname=Pepsi&quantity=2
        if(command == OrderAction.ADD){
            Order newO = addToOrder(
                    Integer.parseInt(args.get("orderid")),
                    args.get("miname"),
                    Integer.parseInt(args.get("quantity"))
            );
            return XMLOWrite.getOrderXML(newO);
        }
        else if(command == OrderAction.CREATE){
            Order newO = createNewOrder(Integer.parseInt(args.get("custid")));
            return XMLOWrite.getOrderXML(newO);
        }
        else if(command == OrderAction.REMOVE){
            MenuItem removed = removeFromOrder(
                    Integer.parseInt(args.get("orderid")),
                    args.get("miname")
                    );
            return XMLMIWrite.getMenuItemXML(removed);
        }
        else if(command == OrderAction.SENDKITCHEN){
            Order inK = sendToKitchen(Integer.parseInt(args.get("orderid")));
            return XMLOWrite.getOrderXML(inK);
        }
        else if(command == OrderAction.COMPLETE){
            completeOrder(Integer.parseInt(args.get("orderid")));
            return XMLOWrite.getAllOrdersXML(inKitchen);
        }
        else if(command == OrderAction.GETALLKITCHEN){
            return XMLOWrite.getAllOrdersXML(inKitchen);
        }
        else if(command == OrderAction.GETORDERITEMS){
            MenuItemWriter miW = new MenuItemWriter();
            return miW.getMenuXML(getOrderItems(Integer.parseInt(args.get("orderid"))));
        }
        //else if()


        return null;
    }