I agree, I don't think this is a HAPI issue - see
http://www.coderanch.com/t/224227/Web-Services/java/SOAP-message - same
error, but not related to HAPI
On 15 October 2010 22:12, Jonathan Bartels <[email protected]> wrote:
> 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:[email protected]]
> Sent: Friday, October 15, 2010 3:59 PM
> To: [email protected]
> 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
> [email protected]
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>
--
Med venlig hilsen / Kind regards
*Jens Kristian Villadsen*
cand.polyt
Kantorvænget nr. 161
8240 Risskov
Denmark
Mobile +4523373806
[email protected]
http://jkiddo.is-a-geek.com
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel