Package com.emc.plants.web.servlets

Examples of com.emc.plants.web.servlets.ReceiveOrdersJAXRPCProxy


    String customerID = "PBW0001";
    String trackNum = "0";
    try {
      // Use JAXRPC to send the order to the Supplier. A supplier tracking
      // order ID is returned.
      ReceiveOrdersJAXRPCProxy supplierOrdersProxy = new ReceiveOrdersJAXRPCProxy(suppliers);
      trackNum = supplierOrdersProxy.sendOrder(customerID, backOrderID, invID, amountToOrder);
      if (trackNum.equals("0")) {
        logger.debug("AdminController.purchaseInventory() - sendOrder has failed with rc = "
            + trackNum);
      }
    } catch (NoSupplierException e) {
View Full Code Here


    private boolean checkStatus(String trackNum) throws NoSupplierException {
      logger.debug("AdminController:purchaseInventory");     
        boolean orderStatus = false;
        try {
            // Use JAXRPC to query the supplier for the order status.
            ReceiveOrdersJAXRPCProxy supplierOrdersProxy = new ReceiveOrdersJAXRPCProxy(suppliers);
            orderStatus = supplierOrdersProxy.checkOrderStatus(trackNum);
        } catch (NoSupplierException e) {
            logger.debug("AdminController.checkStatus() -  NoSupplierException: " + e);
            throw e;
        } catch (Exception e) {
            logger.debug("AdminController.checkStatus() - Exception: " + e);
View Full Code Here

TOP

Related Classes of com.emc.plants.web.servlets.ReceiveOrdersJAXRPCProxy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.