Hi,
We are trying to create the ISOMsg in postilion format using PostPackager. While creating isomsg, getting exception while adding the field 127 as it is subfield.
Below is code snippet:
ISOMsg isoMsg = new ISOMsg();
PostPackager postPack = new PostPackager();
isoMsg.setMTI("0100");
isoMsg.set(3,"010000");
ISOMsg fld27 = new ISOMsg();
fld27.set(10,"Test");
fld27.set(33,"5757678");
isoMsg.set(127,fld127);
receive the exception at above line as field is not subfield.
Please help to add subfield into isomsg.
Thanks,
prd