Re: [HAPI-devel] Hapi over http: Response Exception

2014-07-30 Thread James Agnew
Hi Sara, HAPI is expecting an HTTP 200 response (not 201) and an HL7 content type (not text/plain), per the HL7 over HTTP specification. It may be worth checking with OpenHIE developers whether it can be configured to send the needed content type and status code. If not, you may end up having to

[HAPI-devel] Hapi over http: Response Exception

2014-07-30 Thread Sara Fatima
Hi all, I am using Hapi over http example to send PIX message to OpenHIE, since OpenHIE expects an XML request, I have passed DefaultXMLParser object to HOHClientSimple. But at line IReceivable receivable = client.sendAndReceiveMessa