Wire Protocol

94 views
Skip to first unread message

pugazhendhi t

unread,
Sep 25, 2012, 12:56:00 PM9/25/12
to jpos-...@googlegroups.com
Hi

I  started to study jpos project guide 1.6.1 . Where in that there is a topic called Wire protocol

1. How can i relate the communication protocols(TCP/IP, UDP ... etc)  with ISO channels (Hex Channel, Ascii Channel... )?

2. Whether channels will get differ based on communication protocols?

3. If i want to get the messages in jpos server  from POS terminal, Do i need to know the communication protocol of POS Terminal, and What ISO Channels they used ?.

*note

Tried with all channels but my isomsg is null,  i could not find proper solution as i dont know , what channels they use in my POS terminal. Any guidance will be more helpful. Is it right way to ask POS vendor to give the channels details , Header and trailer if  they use .

 If i want to know all these details from vendor , what document i should ask them?
 










Victor Salaman

unread,
Sep 25, 2012, 2:34:11 PM9/25/12
to jpos-...@googlegroups.com
Hi:

Get the ISO8583 Messaging specification from the POS vendor, assuming your POS terminal speaks ISO-8583. 

For starters, what brand and model is the POS and what software is it running? Someone on the list might be experienced with it.

/V

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage.
Please support jPOS, contact: sa...@jpos.org
 
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jpos-users
 
 
 

Mark Salter

unread,
Sep 25, 2012, 7:18:40 PM9/25/12
to jpos-...@googlegroups.com
On 25/09/2012 17:56, pugazhendhi t wrote:
> Is it right way to ask POS vendor to give
> the channels details , Header and trailer if they use .
There might be a difference or conflict in the words used, but if you
tell them what you are trying to do (it seems connect their terminal to
your code?) they can tell you all they know.
>
> If i want to know all these details from vendor , what document i
> should ask them?
Ask them for all their technical documentation :-)

I wonder if they will want to charge you for access :-(

Tracing the network traffic arriving on your system might give you some
clues, but this suggestion does assume that you have already managed to
get the POS terminal to connect to a port you are providing.


--
Mark

pugazhendhi t

unread,
Sep 26, 2012, 2:45:59 AM9/26/12
to jpos-...@googlegroups.com
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 :


Reply all
Reply to author
Forward
0 new messages