Subversion Repositories SmartDukaan

Rev

Rev 6991 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6991 Rev 6993
Line 71... Line 71...
71
            if (orderId == null || orderId.isEmpty()) {
71
            if (orderId == null || orderId.isEmpty()) {
72
                logger.error("Order Id is null or empty");
72
                logger.error("Order Id is null or empty");
73
                return "show";
73
                return "show";
74
            }
74
            }
75
            TransactionClient tc = new TransactionClient("support_transaction_service_server_host", "transaction_service_server_port");
75
            TransactionClient tc = new TransactionClient("support_transaction_service_server_host", "transaction_service_server_port");
76
            TransactionService.Client orderClient = transactionServiceClient.getClient();
76
            TransactionService.Client orderClient = tc.getClient();
77
            buffer = orderClient.retrieveInvoice(Long.parseLong(orderId));
77
            buffer = orderClient.retrieveInvoice(Long.parseLong(orderId));
78
            if(!buffer.hasArray()) {
78
            if(!buffer.hasArray()) {
79
                logger.error("The invoice does not found");
79
                logger.error("The invoice does not found");
80
            }
80
            }
81
        } catch (Exception e) {
81
        } catch (Exception e) {