BITMAP Issue

48 views
Skip to first unread message

Kapilashantha Rajapaksha

unread,
Jan 9, 2017, 5:53:53 AM1/9/17
to jpos-...@googlegroups.com
Dear All,

I'm receiving the bitmap as bellow.

Received from (dfcc-acq) ISO8583:[hex-dump] : buffer size[484]
0000  31 32 30 30 31 31 31 31  31 30 31 30 30 30 31 31  1200111110100011
0010  31 31 31 30 31 31 30 30  30 31 31 30 30 30 30 30  1110110001100000
0020  30 30 30 31 30 30 30 30  31 30 30 30 31 30 31 30  0001000010001010
0030  30 30 30 30 31 30 30 30  30 30 30 30 30 30 30 30  0000100000000000
0040  30 30 30 30 30 30 30 30  30 30 30 30 30 30 30 30  0000000000000000
0050  30 30 30 30 30 30 30 30  30 30 30 30 30 30 30 30  0000000000000000
0060  30 30 30 30 30 30 30 30  30 31 31 30 30 30 30 30  0000000001100000
0070  30 30 30 30 30 30 30 30  30 30 30 31 30 30 30 30  0000000000010000
0080  30 30 30 30 31 32 30 30  31 31 30 31 30 30 30 35  0000120011010005
0090  35 33 34 38 30 30 30 30  30 30 30 30 30 30 32 33  5348000000000023
00a0  30 30 30 30 30 30 30 30  30 30 32 33 30 30 30 30  0000000000230000
00b0  30 31 30 35 30 33 34 30  34 31 30 30 30 30 33 37  0105034041000037
00c0  30 33 30 31 34 31 30 31  30 35 30 30 30 30 30 30  0301410105000000
00d0  30 30 30 31 30 35 36 30  31 35 30 30 30 30 30 30  0001056015000000
00e0  30 36 36 30 30 33 33 37  30 30 30 30 30 30 30 30  0660033700000000
00f0  30 30 33 37 38 30 30 43  45 46 54 20 30 30 30 30  0037800CEFT 0000
0100  30 30 30 30 30 30 30 30  30 30 30 30 30 30 30 30  0000000000000000
0110  30 30 30 30 30 30 30 30  30 30 30 30 30 30 30 30  0000000000000000
0120  30 30 30 30 31 34 34 31  32 30 30 31 31 30 31 30  0000144120011010
0130  30 30 35 35 33 31 32 31  32 33 34 35 36 37 38 39  0055312123456789
0140  31 32 33 31 35 38 30 30  31 31 32 33 34 35 36 37  1231580011234567
0150  38 39 31 32 33 20 20 20  20 20 20 20 20 20 20 20  89123           
0160  20 20 20 20 20 30 30 32  37 30 31 30 20 20 20 20       0027010    
0170  30 30 33 37 34 35 34 20  20 20 20 30 30 34 30 30  0037454    00400
0180  35 20 20 20 30 30 35 38  30 30 20 20 20 30 30 36  5   005800   006
0190  4D 41 4E 4A 55 20 44 49  53 20 20 20 20 20 20 20  MANJU DIS       
01a0  20 20 20 20 30 30 37 43  45 46 54 50 41 52 54 20      007CEFTPART 
01b0  20 20 20 20 20 20 30 30  38 43 45 46 54 4E 41 52        008CEFTNAR
01c0  52 20 20 20 20 20 20 20  30 30 39 31 31 30 31 30  R       00911010
01d0  46 30 30 30 38 30 30 30  35 30 31 31 37 30 30 30  F000800050117000
01e0  31 39 39 39                                       1999


BITMAP - 3131313131303130303031313131313031313030303131303030303030303031303030303130303031303130303030303130303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030313130303030303030303030303030303030313030303030303030



Pls can you advice what data type should I use for bitmap field in XML ?

Regards,


Victor Salaman

unread,
Jan 9, 2017, 6:01:44 AM1/9/17
to jpos-...@googlegroups.com
Hi:

You need to build a custom class extending ISOBitMapPackager...

/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 Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.
To post to this group, send email to jpos-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAKV%2BfV0QsAVh-LnUGqm%2BgDxWfqVT0wR-fRGxxGDRxvQrtCcc0A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Kapilashantha Rajapaksha

unread,
Jan 9, 2017, 6:16:20 AM1/9/17
to jpos-...@googlegroups.com

Barzilai Spinak

unread,
Jan 9, 2017, 9:16:23 PM1/9/17
to jpos-...@googlegroups.com
If what you say is true, the bitmap that you are getting is 128 bits long but each bit is encoded as a '0' or '1' ASCII character.
That's noy only inefficient, but totally sick :-)

As Victor said, you'll need to build a custom class. You can use the IFA_BITMAP class as an example.


--
Barzilai Spinak
Transactility, Inc.
www.transactility.com
"Commercial licensing and support for the jPOS.org project"



On 1/9/17 8:16 AM, Kapilashantha Rajapaksha wrote:
> ok, thanks
>
> On Mon, Jan 9, 2017 at 4:31 PM, Victor Salaman <vsal...@gmail.com <mailto:vsal...@gmail.com>> wrote:
>
> Hi:
>
> You need to build a custom class extending ISOBitMapPackager...
>
> /V
>

A Haris Kurniawan

unread,
Jan 9, 2017, 9:55:32 PM1/9/17
to jpos-...@googlegroups.com
wohohoho apparently this 'sick' isospec bitmap is being implemented in many places :p..

do as victor say, create your own IsoBitmapPackager, or extend IFA_BITMAP override method pack() and unpack()
and also use PADchannel because i dont see any length header from the sample you give

On Tue, Jan 10, 2017 at 9:16 AM, Barzilai Spinak <bar...@transactility.com> wrote:
If what you say is true, the bitmap that you are getting is 128 bits long but each bit is encoded as a '0' or '1' ASCII character.
That's noy only inefficient, but totally sick :-)

As Victor said, you'll need to build a custom class. You can use the IFA_BITMAP class as an example.


--
Barzilai Spinak
Transactility, Inc.
www.transactility.com
"Commercial licensing and support for the jPOS.org project"



On 1/9/17 8:16 AM, Kapilashantha Rajapaksha wrote:
> ok, thanks
>
> On Mon, Jan 9, 2017 at 4:31 PM, Victor Salaman <vsal...@gmail.com <mailto:vsal...@gmail.com>> wrote:
>
>     Hi:
>
>     You need to build a custom class extending ISOBitMapPackager...
>
>     /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 Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.
To post to this group, send email to jpos-...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Best regards,
A. Haris Kurniawan

chhil

unread,
Jan 10, 2017, 12:24:48 AM1/10/17
to jpos-...@googlegroups.com

I hope it's not just a data representation issue and the data shown was actually traversing the wire.

-chhil


To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.

To post to this group, send email to jpos-...@googlegroups.com.
--
Best regards,
A. Haris Kurniawan

--
--
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 Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.

To post to this group, send email to jpos-...@googlegroups.com.

Alejandro Revilla

unread,
Jan 10, 2017, 7:25:32 AM1/10/17
to jpos-...@googlegroups.com

I bet that's the case, sending a byte per bit doesn't seem reasonable to me.


Mark Salter

unread,
Jan 13, 2017, 3:46:15 AM1/13/17
to jPOS Users


On Tuesday, January 10, 2017 at 12:25:32 PM UTC, Alejandro Revilla wrote:

I bet that's the case, sending a byte per bit doesn't seem reasonable to me.
I would take that bet - for a small amount :-)

It is amazing the sort of rubbish people will 'invent' without engaging their brains, so I guess this message dump is an accurate illustration of the binary character bitmap present.

--
Mark
Reply all
Reply to author
Forward
0 new messages