I have basically asked the same thing and haven't received much input on. As of now, I am just returning XML as a String. I am not aware of any limitations with the string type so If some one knows of something that would make returning XML as a string a bad idea, please let us know.
You can return XML as xsd:anyType, but I do not have an example of how to do so. Also, you can attach the XML doc as a SOAP attachment but from what I have read that is one of the least portable features of not implemented in some SOAP APIs.
Any one have thoughts on returning XML as a string (bad idea??) and any ideas on whats a better solution?
From: Anna Bikkina <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: xml files in axis Date: Fri, 6 Feb 2004 10:51:29 -0500
Hi,
I am new SOAP and axis. I have to pass an xml to the client as return type in
a method. Can I do that in axis. Also is there a restriction on the size of
the file I can send.
Can anyone please direct me to some examples.
Thanks, Anna.
_________________________________________________________________
Click here for a FREE online computer virus scan from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
