It seems like there is some sort of encoding error, perhaps you need to
XMLEncode the hl7 string to catch any special XML characters.

-----Original Message-----
From: Sid [mailto:sidraaft...@gmail.com]
Sent: Friday, October 15, 2010 3:59 PM
To: hl7api-devel@lists.sourceforge.net
Subject: [HAPI-devel] Use Example Parse Message Code in a webservice

Hi,

I made a java application ( build & run) by using the example parse
message code. then i made a function Parsemsg (string msg) and include
all the code in that. after that i made a webservice ( add example
parse msg. jar file ) and from that i called that function string msg.
the webservce deployed sucessfully but when i tested the webservice it
throw exception and give the follwoing error

log4j:WARN No appenders could be found for logger
(ca.uhn.hl7v2.parser.DefaultModelClassFactory).
log4j:WARN Please initialize the log4j system properly.
SAAJ0539: Unable to get header stream in saveChanges
SAAJ0540: Error during saving a multipart message
Cannot log SOAP Message Error during saving a multipart message
[Fatal Error] :-1:-1: Premature end of file


can anyone tell me , why i get the error . and if there is anyother
way of doing this

please help
regards,
Sidra Aftab

--------------------------------------------------------------------------
----
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to