mykelalvis / nucleus8583

Automatically exported from code.google.com/p/nucleus8583
0 stars 0 forks source link

Error in primary bit map? #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying to create an echo request (but I think the problem will occur 
otherwise as well)

Iso8583Message msg = factory.createMessage();
msg.setMti("0800");
msg.set(7, "0627180510");
msg.set(11, "123456");
msg.set(70, "301");
byte[] packed = msg.pack();
System.out.println("packed = " + new String(packed));

What is the expected output? What do you see instead?
I think this should result in:
0800822000000000000004000000000000000627180510123456301
but results in
0800022000000000000004000000000000000627180510123456301

What version of the product are you using? On what operating system?
Im using nucleus8583 2.3.2

Please provide any additional information below.
Also, if no fields are set in the secondary bit map I believe the secondary bit 
map shouldn't be sent according to the iso8583 standard.

Original issue reported on code.google.com by vi...@mobilesecuretransfer.com on 28 Jun 2011 at 8:17

GoogleCodeExporter commented 9 years ago
We tried to reproduce this issue on our lab but we saw 
0800822000000000000004000000000000000627180510123456301 in the test result. 
Would you give me your xml definition?

Thanks

Original comment by robbi.kurniawan@gmail.com on 4 Jul 2011 at 5:04

GoogleCodeExporter commented 9 years ago
I used the xml file that's described at:
http://code.google.com/p/nucleus8583/wiki/Quickstart

Original comment by vi...@mobilesecuretransfer.com on 4 Jul 2011 at 7:15

GoogleCodeExporter commented 9 years ago
Never mind, it seems the wrong version of nucleus-jar was cached. I remade my 
project from scratch and now it uses the right version.

Original comment by vi...@mobilesecuretransfer.com on 4 Jul 2011 at 2:55

GoogleCodeExporter commented 9 years ago
Seems like there are some mistakes in the Quickstart Page. 

The quickstart mentioned <version>2.3.1</version> in pom.xml file while 
creating a new maven project. This should be <version>2.3.2</version>. Also, we 
changed the nucleus8583.xml file.

We have made several modifications in that page to prevent the 
mis-understanding. We're sorry for your inconvenience and thank you for your 
feedback.

Original comment by robbi.kurniawan@gmail.com on 4 Jul 2011 at 3:09

GoogleCodeExporter commented 9 years ago
Verified that this issue is not an issue

Original comment by robbi.kurniawan@gmail.com on 9 Aug 2011 at 2:49

GoogleCodeExporter commented 9 years ago
This issue has been verified as an invalid issue.

Original comment by robbi.kurniawan@gmail.com on 22 Aug 2011 at 1:53