请求我发送:
{"transactionid":"12",
"ISOMsg":"010046552063310518890000000000000123001203210541330012003255399022004655206331051889=0325111123400008050206305000014291100011001001840"
}
和iam使用packger87解包iso消息:
for (Map.Entry<Object, Object> entry : attributes.entrySet()) {
if (entry.getKey().equals("ISOMsg")) {
msg.setPackager(new ISO87BPackager());
msg.unpack(ISOUtil.hex2byte(entry.getValue().toString()));
}
}
错误:
"message": "org.jpos.iso.IFB_LLCHAR: Problem unpacking field 34 (java.lang.RuntimeException: Required 10 but just got 8 bytes) unpacking field=34, consumed=67"
问题出在打包机上?但是我用的是87,MTI0100是87的版本。。提前谢谢
1条答案
按热度按时间iibxawm41#
我知道答案:我的请求不对,所以发生了意外的消息表示