- In Client Sample code : TRKD API On page 1030 , HttpsAndAnonymous_MetroClient class, I got response object back.
But when I try to print token using command ‘response.getToken()’, it gives junk characters. ( Real token appears in SOAP message).
Can you please advise why response.getToken() does print garbage chars and not token as appeared in SOAP message?
System.out.println("Token byte[]: "+ response.getToken()); // I tried with different CHARSET e.g.UTF-8 etc.. but no luck.
Let me know if my questions are not clear enough.
Any help is appreciated.