From: James A. <ja...@ja...> - 2014-07-15 18:33:25
|
That's probably a factory method that was added to HAPI in a version later than 2.2. Get your parser using whatever means you've been using elsewhere in your code. Cheers, James On Tue, Jul 15, 2014 at 1:06 PM, Sara Fatima <sar...@gm...> wrote: > Hi James, > > Thank you for the guidelines. I will surely let you know how I progress > with sending to OpenHIE. > While using this > <http://hl7api.sourceforge.net/hapi-hl7overhttp/doc_hapi.html> example, I > am facing an error. I am unable to resolve the below line: > >> Parser parser = PipeParser.getInstanceWithNoValidation(); > > > Could you tell me where I could be going wrong? > > > > Regards > Sara Fatima > > > > On Tue, Jul 15, 2014 at 9:41 PM, James Agnew <ja...@ja...> wrote: > >> Hi Sara, >> >> HTTP support is currently in a separate JAR which you can include in your >> pom.xml and use. Here is a fairly complete set of instructions: >> http://hl7api.sourceforge.net/hapi-hl7overhttp/doc_hapi.html >> >> Note though that HTTP support is a relatively new thing- It's not even >> yet approved formally by HL7. This doesn't mean that there is anything >> wrong with using it (we use it for lots of production applications >> ourselves) but it does mean that there are probably some differences in >> people's implementations. I'm not aware of anyone using it to talk to >> OpenHIE so I'd love to hear about your results. >> >> Cheers, >> James >> >> >> On Tue, Jul 15, 2014 at 10:11 AM, Sara Fatima <sar...@gm...> >> wrote: >> >>> Hi all, >>> >>> I am working on sending PIX message to OpenHIE >>> <https://wiki.ohie.org/display/documents/Home>. I have created the hl7 >>> message as per the PIX standards and verified the message by sending it to >>> Gazelle Simulator. But the simulator receives it over MLLP. But now to send >>> it to OpenHIE I need to send over HTTP. Could someone guide me with any >>> sample which sends PIX (ie. hl7 A01 type message) message over HTTP. I am >>> using HAPI 2.0. >>> >>> Regards >>> Sara Fatima >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Want fast and easy access to all the code in your enterprise? Index and >>> search up to 200,000 lines of code with a free copy of Black Duck >>> Code Sight - the same software that powers the world's largest code >>> search on Ohloh, the Black Duck Open Hub! Try it now. >>> http://p.sf.net/sfu/bds >>> _______________________________________________ >>> Hl7api-devel mailing list >>> Hl7...@li... >>> https://lists.sourceforge.net/lists/listinfo/hl7api-devel >>> >>> >> > |