-
-
Save JavaYank/b71cc6d5ec82d6cb474daef2f9def49e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IssuingPortProxy issuingPortProxy = new IssuingPortProxy( | |
ConnectionPool.getValue("HUMO_HOST"), | |
ConnectionPool.getValue("HUMO_USERNAME"), | |
ConnectionPool.getValue("HUMO_PASSWORD")); | |
String bankC = ConnectionPool.getValue("HUMO_BANK_C"); | |
String groupC = ConnectionPool.getValue("HUMO_GROUPC"); | |
String realCardNumber = getRealCardNumber(rs.getString("CARD"), issuingPortProxy, bankC, groupC) | |
************************************************************************************ | |
private static String getRealCardNumber(String pseudoCard, IssuingPortProxy proxy, String bankC, String groupC) throws RemoteException { | |
OperationConnectionInfo connectionInfo = new OperationConnectionInfo(); | |
connectionInfo.setBANK_C(bankC); | |
connectionInfo.setGROUPC(groupC); | |
connectionInfo.setEXTERNAL_SESSION_ID(getExternalSession()); | |
RowType_GetRealCard_Request request = new RowType_GetRealCard_Request(pseudoCard); | |
RowType_GetRealCard_ResponseHolder response = new RowType_GetRealCard_ResponseHolder(); | |
proxy.getRealCard(connectionInfo, request, new OperationResponseInfoHolder(), response); | |
return response.value.getRCARD(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment