Hi Nick,
Need your help in sorting the issue I am facing I have sent the CA command to the SIM following are the info
Application Event:
Client: 127.0.0.1:62182
Request: 1234CAU2839DD7D8093FCD713BFF1CC5FADFE99U95EC1F1BC1FEFF311ED627CF2CB922AA12BEFA7C2FE3767A510101333301000060
Parsing header and code of message 1234CAU2839DD7D8093FCD713BFF1CC5FADFE99U95EC1F1BC1FEFF311ED627CF2CB922AA12BEFA7C2FE3767A510101333301000060...
Searching for implementor of CA...
Found implementor ThalesSim.Core.HostCommands.BuildIn.TranslatePINFromTPKToZPK_CA, instantiating...
Calling AcceptMessage()...
Calling ConstructResponse()...
Exception while processing message
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Convert.ToInt32(String value)
at ThalesSim.Core.PIN.PINBlockFormat.ToPIN(String PINBlock, String AccountNumber_Or_PaddingString, PIN_Block_Format Format)
at ThalesSim.Core.HostCommands.BuildIn.TranslatePINFromTPKToZPK_CA.ConstructResponse()
at ThalesSim.Core.ThalesMain.WCMessageArrived(WorkerClient sender, Byte[]& b, Int32 len)
Disconnecting client.
Calling Terminate()...
Implementor to Nothing
Client disconnected.
Console client disconnected.
Command Events:
=== [CA], starts 21:52:27.359 =======
[Key,Value]=[Account Number,333301000060]
[Key,Value]=[Destination ZPK,95EC1F1BC1FEFF311ED627CF2CB922AA]
[Key,Value]=[Destination ZPK Scheme,U]
[Key,Value]=[PIN Length,12]
[Key,Value]=[Source PIN Block,BEFA7C2FE3767A51]
[Key,Value]=[Source PIN Block Format,01]
[Key,Value]=[Source TPK,2839DD7D8093FCD713BFF1CC5FADFE99]
[Key,Value]=[Source TPK Scheme,U]
[Key,Value]=[Target PIN Block Format,01]
I am getting System.FormatException: Input string was not in a correct format.
Appreciate your help. Thanks
Praj.