Hi all,
I am using Hapi over http
<http://hl7api.sourceforge.net/hapi-hl7overhttp/doc_hapi.html> example to
send PIX message to OpenHIE, since OpenHIE expects an XML request, I have
passed DefaultXMLParser object to HOHClientSimple.
But at line IReceivable<Message> receivable =
client.sendAndReceiveMessage(sendable); I am facing below exception.
ca.uhn.hl7v2.hoh.api.NonHl7ResponseException: Invalid Content-Type:
text/plain.
To my knowledge OpenHIE responds with a HTTP 201 status if the sending was
successful. However I am not clear what hapi is expecting as a response.
Could someone guide me with this?
Thanks & Regards
Sara Fatima
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel