tiagoepr/mllp-https

HAPI TestPanel cannot receive ACK

Closed this issue · 1 comments

When doing tests using HAPI TestPanel as HTTPS client to send an HL7 message, it is not possible to receive the ACK on that software although https2mllp sent it correctly (apparently).
It is a stated issue: https://sourceforge.net/p/hl7api/mailman/message/30154856/
https://www.mail-archive.com/hl7api-devel@lists.sourceforge.net/msg00458.html

Investigating the case to check if it is a HAPI bug or an issue from our side...

https2mllp was using HTTP/1.0 which implies that it was not using a persistent connection. Changed the code so that https2mllp would use HTTP/1.1.
Besides, https2mllp is sending Content-type “application/hl7-v2+er7” as it would be required according to HAPI specification. Using “application/hl7-v2” instead solved the problem.

Solved on v1.2.28