Hi Sean,

I am doing a <cfdump> and what is output is 
        "[EMAIL PROTECTED]" (the chars after the @ change)

<cfoutput>#IsXMLDoc(getDocsRet)#</cfoutput> returns "NO"

But if I call it as a component, dumping the variable shows a nice XML tree
and IsXMLDoc() returns "Yes"

James

-----Original Message-----
From: Sean A Corfield [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 14, 2004 2:08 PM
To: [EMAIL PROTECTED]
Subject: Re: [CFCDev] Problems returning XML via WebService

On May 14, 2004, at 12:02 PM, James Johnson wrote:
> If I use the component as a component, it returns the XML document. If 
> I use it as a webservice all I get is 
> [EMAIL PROTECTED]

Many web services end up returning an encapsulated object. You can <cfdump>
it and you'll see all the methods defined on it - you'll have to call some
of those methods to get at the data.

Regards,
Sean

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool,
Corporation (www.mindtool.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[EMAIL PROTECTED]
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to