Hi,
My objective : Getting the Message from POS Terminal to jpos Server(act as Acquirer).
Terminal info : Sagem Monetel EFT smart (Master Card Terminal )
Card : Master Card
I am able to receive message from terminal using
Channel : Base24TCPChannel.
Packager : Euro Packager.
but there is a exception while unpacking the field 33
FYI : Data in log
--------------------------------------------- data -----------------------------------------------------
0000 11 00 70 04 07 00 29 80 82 00 10 54 13 33 00 89 ..p...)....T.3..
0010 01 03 76 00 00 00 00 00 05 00 00 00 14 12 35 31 ..v...........51
0020 30 31 30 31 35 31 31 33 34 36 00 00 01 00 21 05 0101511346....!.
0030 41 33 30 08 90 10 02 0D 14 12 20 10 06 35 01 12 A30....... ..5..
0040 30 30 30 30 30 30 30 30 30 35 32 38 02 01 30 32 000000000528..02
0050 30 30 31 31 30 31 09 78 87 9F 34 03 41 03 02 9F 001101.x..4.A...
0060 26 08 3B 3B 14 3A AE 57 A1 75 9F 27 01 80 9F 10 &.;;.:.W.u.'....
0070 12 02 10 A5 00 0F 04 00 00 DA C0 00 00 00 01 75 ...............u
0080 00 00 FF 9F 37 04 03 0C 09 45 9F 36 02 00 3F 95 ....7....E.6..?.
0090 05 00 00 00 90 00 82 02 58 00 9F 33 03 E0 F0 C8 ........X..3....
00a0 9F 1A 02 03 92 9F 35 01 22 9F 1E 08 30 32 30 30 ......5."...0200
00b0 31 31 30 31 9A 03 12 09 26 9C 01 00 9F 02 06 00 1101....&.......
00c0 00 05 00 00 00 5F 2A 02 09 78 5F 36 01 02 9F 53 ....._*..x_6...S
00d0 01 52 4F 07 A0 00 00 00 04 10 10 9F 09 02 00 .RO............
--------------------------------------------- data -----------------------------------------------------
Exception :
<iso-exception>
org.jpos.iso.IFA_LLNUM: Problem unpacking field 33
<nested-exception>
java.lang.NegativeArraySizeException
at org.jpos.iso.AsciiInterpreter.uninterpret(AsciiInterpreter.java:53)
at org.jpos.iso.ISOStringFieldPackager.unpack(ISOStringFieldPackager.java:173)
at org.jpos.iso.ISOBasePackager.unpack(ISOBasePackager.java:233)
at org.jpos.iso.ISOMsg.unpack(ISOMsg.java:344)
at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:852)
at org.jpos.iso.BaseChannel.receive(BaseChannel.java:623)
at org.jpos.iso.ISOServer$Session.run(ISOServer.java:149)
at org.jpos.util.ThreadPool$PooledThread.run(ThreadPool.java:74)
</nested-exception>
org.jpos.iso.ISOException: org.jpos.iso.IFA_LLNUM: Problem unpacking field 33 (java.lang.NegativeArraySizeException)
at org.jpos.iso.ISOStringFieldPackager.unpack(ISOStringFieldPackager.java:178)
at org.jpos.iso.ISOBasePackager.unpack(ISOBasePackager.java:233)
at org.jpos.iso.ISOMsg.unpack(ISOMsg.java:344)
at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:852)
at org.jpos.iso.BaseChannel.receive(BaseChannel.java:623)
at org.jpos.iso.ISOServer$Session.run(ISOServer.java:149)
at org.jpos.util.ThreadPool$PooledThread.run(ThreadPool.java:74)
Nested:java.lang.NegativeArraySizeException
at org.jpos.iso.AsciiInterpreter.uninterpret(AsciiInterpreter.java:53)
at org.jpos.iso.ISOStringFieldPackager.unpack(ISOStringFieldPackager.java:173)
at org.jpos.iso.ISOBasePackager.unpack(ISOBasePackager.java:233)
at org.jpos.iso.ISOMsg.unpack(ISOMsg.java:344)
at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:852)
at org.jpos.iso.BaseChannel.receive(BaseChannel.java:623)
at org.jpos.iso.ISOServer$Session.run(ISOServer.java:149)
at org.jpos.util.ThreadPool$PooledThread.run(ThreadPool.java:74)
</iso-exception>
As i dont have any documentation from POS Vendor , I have to give trial and error process only ..
Am i in correct way ?
Any help will be thankful :