Re: Help me, pack and send message iso with 2 bytes header + message body

1,411 views
Skip to first unread message

Mark Salter

unread,
Sep 26, 2012, 11:06:25 AM9/26/12
to jPOS Users


On Sep 26, 10:26 am, vsthansau <vsthan...@gmail.com> wrote:
> A Frame consists of a 2-byte  length header and a
> message body. The header
> contains the length of the following message. The high byte of value is
> transmitted first, and the low
> byte of value is transmitted second.
You have a mix of terms here and might be suffering because of a clash
of language/terms between jPOS and the target system...

Which jPOS Channel have you selected to use?
The Channel determines the format of the length bytes.

JPOS deals with the header (which would often follow any length and
preceed the MTI), just mentioning it for now.

Also please share which Packager you are using and check that it
matches the target system field for field - both in terms field
length, content and format.


> Ps: I have set field: 7, 11, 70 but i read logs from host i see field: BITS:
> 3,4,5,11,12,15,19,20,23,27,28,35,36,43,44,51,52,59,60
This indicates to me that the bytes that the target is treating as the
bitmap are not them same or not in the expected format it expects.

You might be sending char hex and it is expecting binary (for
instance).

> I dont understand error when pack iso and send message, please help me to
> fix pack & send iso successfully to host
Are you getting an error on pack, or do you mean just that the
interpretation by the target is in error?

Please start at the top and work through the Channel and Packager
selection and checking and changing if needed.

Please also take care in sharing documentation, although you have
trimmed this out of easy recognition, I suspect it is part of a
copyrighted work and as such should not be shared at all without
permission.

As it is not relevant I will attempt to delete the attachment in case
the owner recognises it and complains (to you).

--
Mark

Roeddy Zeng

unread,
May 6, 2014, 7:15:30 AM5/6/14
to jpos-...@googlegroups.com
Hi Every body,

Do you know about the HSM Thales 8000 ? Currently, we have no idea about the command in the HSM
Online-AUTH > QH

Message Header Length : 28
Protocol : Ethernet
IP address : 010.032.001.113
Well-Known-Port : 09191
Transport : TCP, 64 connections
...

Please explain why the MHL is setup to 28, normally, it will be setup to 4 as default.

Thanks
Roeddy

Pada Rabu, 26 September 2012 16:26:31 UTC+7, vsthansau menulis:
Hi every body!
I have a document Standardization (ISO) 8583:1987 standard.
"The continuous TCP/IP data stream is split into frames. Each ISO – 8583 message is sent
in a separate  frame. A Frame consists of a 2-byte  length header and a message body. The header
contains the length of the following message. The high byte of value is transmitted first, and the low
byte of value is transmitted second. 
2 bytes                        |      N bytes
--------------------------------------------------------------------------
Message Length = N     |      ISO – 8583 Message

I have attached a description of echo test.
I have built one simulator  and pack echo test return message: 00550800822000000000000004000000000000001004014920006849301
i have send message to Host and i've receive logs data from logs file:

15945.781299|  30.38.30.30.38.32.32.30.30.30.30.30.30.30.30.30       0800822000000000
15945.781307|  30.30.30.30.30.34.30.30.30.30.30.30.30.30.30.30       0000040000000000
15945.781315|  30.30.30.30.30.39.31.39.31.35.31.33.33.39.30.30       0000091915133900
15945.781321|  30.32.39.32.33.30.31                                  0292301        
 4,0800
..........................................................................................................
38.32.32.30.30.30.30.30                               82200000       
15945.781370|  BITS: 3,4,5,11,12,15,19,20,23,27,28,35,36,43,44,51,52,59,60


Ps: I have set field: 7, 11, 70 but i read logs from host i see field: BITS: 3,4,5,11,12,15,19,20,23,27,28,35,36,43,44,51,52,59,60
I dont understand error when pack iso and send message, please help me to fix pack & send iso successfully to host
Thank you so much, everyone !

chhil

unread,
May 6, 2014, 7:37:07 AM5/6/14
to jpos-...@googlegroups.com
Please start a different thread for new queries.

See the manual, it mentions in asynchronous communication mode the header can be anything between 1-255.

-chhil


--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
 
Join us in IRC at http://webchat.freenode.net/?channels=jpos

 
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/f1ee86a2-4f13-4c34-aefa-d8ea8293451c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages