Re: [HAPI-devel] Message encoding

2009-03-22 Thread James Agnew
Hi Fernando, I've made a fix to the next version of HAPI which will allow you to set text encoding on XML messages. This should be available within the next 2 weeks. James On Fri, Jan 30, 2009 at 6:43 AM, Fernando Ramírez Sánchez < [email protected]> wrote: > > Hi, > > When I parse a E

Re: [HAPI-devel] StreamReader.Read Hangs

2009-03-22 Thread Lansdale Redmond
Set timeout on the socket From: James Agnew To: [email protected] Cc: [email protected] Sent: Sun Mar 22 18:11:24 2009 Subject: Re: [HAPI-devel] StreamReader.Read Hangs Hi Murali, It sounds like what you need to do is call Socket#setSoTim

Re: [HAPI-devel] not geting exact output for CreateAMessage Example

2009-03-22 Thread James Agnew
Hi Vasu, It looks to me like you have an extra line in your code: pid.getBirthPlace().setValue("Mbmr"); That line seems like your most likely cause. James On Tue, Jan 20, 2009 at 9:00 AM, vasu sreenivas wrote: > > Hi, > > I am running the CreateAMessage Example but the output is not exactly

Re: [HAPI-devel] StreamReader.Read Hangs

2009-03-22 Thread James Agnew
Hi Murali, It sounds like what you need to do is call Socket#setSoTimeout() on your socket. InputStream objects don't really support any way of being made non-blocking, but the underlying socket could be. James On Mon, Mar 2, 2009 at 1:01 PM, Murali wrote: > Hi All, > > I have built HL7 cli