One of the use cases that I need to deal with is to return a NACK in response to malformed messages. For example, if I send an XML message that cannot be parsed by the HAPI parser, the exception will be thrown, but then I need to generate a NACK and return it to the client. My question is, how can I generate the NACK if the inbound message cannot be parsed? Normally I would call generateACK() method and populate ERR segments, but if I don't have an incoming message as a HAPI object, I cannot call the generateACK method. Is there any way to create a "default" NACK?
-- Eugene Berman Sr. Enterprise Solutions Architect ---- MuleSoft Inc. 77 Geary Street, Ste. 400 San Francisco, CA 94108 Office: 415 229 2063 Website: http://www.mulesoft.com <http://www.mulesoft.com/> --- Entia non sunt multiplicanda praeter necessitatem! ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Hl7api-devel mailing list Hl7api-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hl7api-devel