Re: [HAPI-devel] the response message sent by HL7Server is different from the message received by client. Is it right?

2009-07-01 Thread Yu Gu
Hi James, I am sorry to trouble you so frequently, but I find that the difference of the control ID of the two message is 2 ! I try it for many times. I know the value of the control ID is decided by the value of the id_file in my computer. For example, the value of the id_file is 205 ,when I g

Re: [HAPI-devel] the response message sent by HL7Server is different from the message received by client. Is it right?

2009-07-01 Thread Yu Gu
Now I know that. Thanks, James. =) - Just Do It ! -- View this message in context: http://www.nabble.com/the-response-message-sent-by-HL7Server-is-different-from-the-message-received-by-client.-Is-it-right--tp24287004p24299231.html Sent from the hl7api-devel mailing list archive at Nabble.c

Re: [HAPI-devel] the response message sent by HL7Server is different from the message received by client. Is it right?

2009-07-01 Thread James Agnew
Hi Yu, The only two differences in those messages are in the timestamp and the sequentially generated control ID. Those would be different even if you used HL7Server twice in a row. No problems there. Cheers, James On Wed, Jul 1, 2009 at 5:41 AM, Yu Gu wrote: > > Hi all, > I use ca.uhn.hl7v2.p

[HAPI-devel] the response message sent by HL7Server is different from the message received by client. Is it right?

2009-07-01 Thread Yu Gu
Hi all, I use ca.uhn.hl7v2.protocol.impl.HL7Server,I find that the message is different from the message received by client through calling sendAndReceive method. Is it right? or does i do right ? Thanks. I call sendAndReceive at client,and I get the response message: MSH|^~\&|20090701165737