@WebMethod(operationName = "updateOrderStatus")
    public void updateOrderStatus(String orderNumber,String status) throws Exception {        
        CompraDAOImpl dao = new CompraDAOImpl();
        if("".equals(orderNumber))
            throw new Exception();
          if("".equals(status))
            throw new Exception();
        
        if(!status.equals("OK") && !status.equals("NOK")){
            status = "undefined";
        }
        
        dao.updateOrderStatus(orderNumber, status);
    }