Ok, so not returning an actual XML _document_, but returning XML content is alright.
Thanks very much, Rich. -----Original Message----- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: 25 August 2006 12:39 To: [email protected]; [EMAIL PROTECTED] Subject: Re: Can a web service return an XML document as a value? Returning an XML document as an encoded string is "legal", but it doesn't always work, depending on the content in the nested document. It's always a better idea to strip off the <?xml..> header and just send the root element as a child of the SOAP body. Anne On 8/25/06, Richard Wild <[EMAIL PROTECTED]> wrote: > > > I'm sure this is a really dumb question, but I am completely new to > web services, and my employer suddenly requires me to implement one. > Is it acceptable for a web service to return a text value that is > actually an XML document? This would mean that the SOAP response > would actually comprise an XML document nested within an XML document. Is this legal? > > Thanks, > Rich. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
