Skip to content

Instantly share code, notes, and snippets.

@JavaYank
Created April 5, 2019 07:19
Show Gist options
  • Save JavaYank/5f17eff51c9b15911107ab4cd893bcea to your computer and use it in GitHub Desktop.
Save JavaYank/5f17eff51c9b15911107ab4cd893bcea to your computer and use it in GitHub Desktop.
IssuingPortProxy issuingPortProxy = new IssuingPortProxy(
ConnectionPool.getValue("HUMO_HOST"),
ConnectionPool.getValue("HUMO_USERNAME"),
ConnectionPool.getValue("HUMO_PASSWORD"));
OperationConnectionInfo connectionInfo = new OperationConnectionInfo();
connectionInfo.setBANK_C(ConnectionPool.getValue("HUMO_BANK_C"));
connectionInfo.setGROUPC(ConnectionPool.getValue("HUMO_GROUPC"));
RowType_AccBalanceQueryByCard_Request request = new RowType_AccBalanceQueryByCard_Request();
request.setBANK_C(ConnectionPool.getValue("HUMO_BANK_C"));
request.setGROUPC(ConnectionPool.getValue("HUMO_GROUPC"));
request.setCARD("9000030101249884");
OperationResponseInfoHolder response = new OperationResponseInfoHolder();
ListType_GenericHolder listType = new ListType_GenericHolder();
issuingPortProxy.queryAccountBalanceByCard(connectionInfo, request, response, listType);
System.out.println("Error_action =>" + response.value.getError_action());
System.out.println("Error_description =>" + response.value.getError_description());
System.out.println("Error_Response_code =>" + response.value.getResponse_code());
System.out.println("Error_details =>" + response.value);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment