Re: [HAPI-devel] question regarding HAPI

2009-01-02 Thread Erik Gfesser
Subhajit, While I am not sure what details are behind your comment that your program "just stopped on the line number 4 and not going to the next line", what seems to be clear is that an ADT A01 message event is assumed. A previous reply to your message that seems to recommend checking to deter

Re: [HAPI-devel] question regarding HAPI

2009-01-02 Thread Nico Vannieuwenhuyze
Hi, Do you get an exception ? Maybe add some code to verify if the incoming message is really an ADT_A01 message ? if (theIn instanceof ADT_A01) { ADT_A01 objADT_01=(ADT_A01) theIn; ... Regards Nico At 2/01/2009, subhajit bhadury wrote: >Hi, > I am d

Re: [HAPI-devel] If Anyone Knows about the Exception

2009-01-02 Thread Nico Vannieuwenhuyze
Hi, Looks like the sending application (or receiving application when sending the acknowledgement) is violating the hl7 minimal lower layer protocol. The basics of MLLP are that the start of a hl7 message that is sent over the tcp/ip network should be indicated by a ASCII 11 (or hex 0B) and te