tasbihmr | 24 Feb 15:06

the genericpackager example

Dear All,

As you know, there is an example for the ISOPackager in the jPOS 
download called the genericpackager. What is the format of the file 
which is supposed to go with anyone of the packagers ? I mean, there 
are many package descriptors in the xml format, but I cannot find 
anyone of them fitting to the hexdump of the iso message which I have, 
so I am asking, could you give an example of a message which could be 
interpretted by anyone of the xml files ?
Also, there is supposed to be no TPDU in the message ?

Regards,
tasbihmr

 
Mark Salter | 24 Feb 15:30

Re: the genericpackager example

tasbihmr wrote:

> What is the format of the file which is supposed to go with anyone of
>  the packagers ?
The genericPackager uses an xml file to define the message structure, 
this xml could represent the same message structure as one defined in a 
jPOS Packager, but it stands on it's own.

> I mean, there are many package descriptors in the xml format, but I 
> cannot find anyone of them fitting to the hexdump of the iso message 
> which I have, so I am asking,
Well, I'm glad you looked, you may have been lucky.  The jPOS packagers 
are not exhaustive, but can often give you a good starting position from 
which you can adjust the packager (generic or not) to fit your own 
situation.

> could you give an example of a message which could be interpretted by
> anyone of the xml files ?
I don't know why you want this, but perhaps the packager test case will 
help with some packagers with matching message data?

Folder /jpos6/modules/jpos/test/org/jpos/iso/packagers/ holds various 
files including:-

   PackagerTestCase.java - a jUnit test, run or debug this.

This may just confuse you, so perhaps I should ask...

    What do you want the example to show?

(Continue reading)


Gmane