Yes, I did that but strangely what worked was to go to struct output
also. This webservice is only to be consumed by other CF servers in
our network so that is not really that big an issue (just in case
someone would bring that up).
I would still know why that was not working so if anyone can shed some
light on that, it would be great.
Here is what I ended up with.
<cffunction name="getUsers" access="remote" output="false"
returntype="struct" hint="This Function outputs an XML file in a
structure (final).">
<cfargument name="showinactive" type="boolean" required="true"
hint="show the inactive accounts">
<cfset var t = structnew()><!--- temporary variables --->
<cfset var o = structnew()><!--- output variables --->
<cfscript>
// get results
t.output =
createobject("component","uau.com.users").getUsers(arguments.showinactive);
t.result =
createobject("component","uau.com.utility").queryToXML(t.output.result,"users","user");
o.final = tostring(t.result);
</cfscript>
<cfreturn o>
</cffunction>
----------------------------------------------------------
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]