[HAPI-devel] Easiest way to run HAPI ReceivingApplication as standalone app?

2013-11-19 Thread Tom Wilson
Hi. I'm building my first HAPI application. I followed the sample code to build a receiving application and can successfully run a jar which starts the server, starts a client, sends a message, and shuts down the server (basically the sample code). Now, what's the quickest way to get my applicat

[HAPI-devel] xml serialization producing tags

2013-12-18 Thread Tom Wilson
I have this simple method to serialize an HL7 message to XML for later processing with XSLT. public static String serializeHl7Xml(Message msg) { // Now serialize to XML // instantiate an XML parser XMLParser xmlParser = new DefaultXMLParser();

[HAPI-devel] My HAPI server stops accepting connections

2014-01-07 Thread Tom Wilson
Help! I implemented a HAPI server according to the example: server = DirectHapiContext.getHapiContext().newServer(LISTENER_PORT, USE_TLS); ORU_R01_ReceivingApplication handler = new ORU_R01_ReceivingApplication(); handler.setH

Re: [HAPI-devel] My HAPI server stops accepting connections

2014-01-13 Thread Tom Wilson
ok next. -tom From: Sreenath Gadipally [mailto:sreenath.gadipa...@mastek.com] Sent: Thursday, January 09, 2014 8:42 AM To: Christian Ohr; Tom Wilson Cc: hl7api-devel@lists.sourceforge.net Subject: RE: [HAPI-devel] My HAPI server stops accepting connections Why we get timeout issues in hapi ever

[HAPI-devel] UTF-8 support, how to define and test?

2014-01-14 Thread Tom Wilson
Hi. I’m in the final testing phase of a HAPI-based application, and I want to define precisely what character encoding it can support. I know the HL7v2 spec defines UTF-8 as the supported character set. However, it looks like it is only supporting a subset of UTF-8. I am testing by ingesting an

Re: [HAPI-devel] UTF-8 support, how to define and test?

2014-01-14 Thread Tom Wilson
supported. You can trim it to use this in your tests, or test a more extensive UTF-8 support if you like. -tom From: Tom Wilson [mailto:twil...@sujansky.com] Sent: Tuesday, January 14, 2014 10:27 AM To: hl7api-devel@lists.sourceforge.net Subject: [HAPI-devel] UTF-8 support, how to define and test

Re: [HAPI-devel] HAPI TestPanel rejects message

2014-03-04 Thread Tom Wilson
Hi. I am trying to implement enhanced ACK mode with HAPI and encountered the same problem described here: https://www.mail-archive.com/hl7api-devel%40lists.sourceforge.net/msg01398.html I am testing a system which receives ORU messages, does some processing, and sends an asynchronous ACK (enha