Hi Anne,
To me, pass xml as a string input is very important. If I call a web service from a JSP, PHP, ASPX or other client applications, I don't want write functions inside these pages or client applications to parse the string to xml dom.
I rather like web service handle it. Besides, to parse a xml string, I may not want use dom but sax. So I like web service taking xml string as an option, just for convenience of applications.
Jack H. Xu

Technology columnist and author
http://www.usanalyst.com
http://www.getusjobs.com


----- Original Message -----
From: "Anne Thomas Manes" <[EMAIL PROTECTED]>
To: [email protected]
Subject: Re: Webservice with XML input parameter
Date: Fri, 10 Jun 2005 07:31:25 -0400

>
> Axis isn't really designed to work with XML strings particularly well.
> It works with Java objects (RPC, Wrapped, and Document styles) and
> with XML DOM (message style). I suggest you convert your strings to
> DOM and use the messaging style. See the documentation.
>
> Anne
>
> On 6/9/05, Johan Kumps <[EMAIL PROTECTED]>wrote:
> > Hi all,
> >
> > I would like to deploy a webservice using Axis 1.2 with a
> > XML-string as input parameter and a XML-string as return value.
> >
> > Can you point me in the right direction? Code sample?
> >
> > Thanks in advance,
> >
> > Kind regards,
> >
> > Johan Kumps
> >
> >
> >





Jack H. Xu

Technology columnist and author
http://www.usanalyst.com
http://www.getusjobs.com


--

___________________________________________________________
Sign-up for Ads Free at Mail.com
http://www.mail.com/?sr=signup


Reply via email to