|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
ISO8583 Packed Format, bitmap parsing issue |
« View previous topic :: View next topic » |
Author |
Message
|
mhasan23 |
Posted: Fri May 17, 2019 3:24 am Post subject: ISO8583 Packed Format, bitmap parsing issue |
|
|
Novice
Joined: 12 Oct 2017 Posts: 20
|
Dear all,
I am working on ISO8583 messages, as our client sent ISO8583 packed bitmap message but when i received on IIB Version 10.0.0.15 TcpInput Node message not parsed successfully. In debugging mode I have found that bitmap not parsed properly. I am using IBM Integration Bus ISO8583 schema named "ISO8583_1987.xsd".
I am receiving in Hex format of input message is:
Quote: |
49534f3031313030303030303038303082380000080000080400000000000000303531353131353634393334393534303131353634393035313539313335313133343935343030303430303032303032 |
While parsing this message on ISO8583_87 iam getting error
Quote: |
fatal: CTDP3000E: Unexpected end of data at byte offset '68' while parsing element '#xscd(/schemaElement::ISO8583_1987/type::0/model::sequence/schemaElement::Track2Data_035)'. The parser encountered the end of the data stream or the end of a parent element. |
Kindly let me know if i am doing anything wrong.
Thanks,
Hasan |
|
Back to top |
|
 |
timber |
Posted: Fri May 17, 2019 4:55 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
The ISO8583 model assumes that the bitmaps are in binary. If you are receiving packed decimal bitmaps then you will need to parse as BLOB, do some manipulation to convert the bitmaps to binary, then reparse using the ISO8583 model. |
|
Back to top |
|
 |
mhasan23 |
Posted: Sun May 19, 2019 12:13 am Post subject: |
|
|
Novice
Joined: 12 Oct 2017 Posts: 20
|
@timber i am receiving message in blob form on tcp node (message format BLOB) , the issue is that bitmap not parsed properly on ur packed iso8583 message model |
|
Back to top |
|
 |
timber |
Posted: Sun May 19, 2019 12:25 pm Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
Yes, I understand the problem. I was responding to this part of your problem statement:
Quote: |
our client sent ISO8583 packed bitmap message |
ISO8583 bitmaps can be sent as packed decimal or binary. If yours are packed decimal then you will need to do some pre-processing as described in my reply. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|