Dear List,
I saw this thread a few days ago, about returning an XML document as a
string from a CFC. I tried using returntype="any" and the toString()
function - neither worked. What ends up happening is that the XML
document gets returned as a WDDX packet. Is it possible to just return
it as a string, with no further changes?
Here is the XML doc: http://www.graddiv.ucsb.edu/ssoNavigation.xml
Here is the simplified CFC code:
<cfcomponent extends="base">
<cffunction name="getNavigation" access="remote"
returntype="void" output="false">
<cffile action="" file="#path#ssoNavigation.xml"
variable="myString" />
<cfreturn toString(myString) />
</cffunction>
</cfcomponent>
The cfc is located here: http://www.graddiv.ucsb.edu/sso.cfc
Thanks!
Chris
--
***********************
Chris Dempsey
Director, Information Services
UCSB Graduate Division
Quis custodiet ipsos custodies
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- RE: Returning XML via webservice, cont Chris Dempsey
- RE: Returning XML via webservice, cont Tom Kitta
- RE: Returning XML via webservice, cont Christopher Dempsey
- RE: Returning XML via webservice, cont Tom Kitta
- RE: Returning XML via webservice, cont Christopher Dempsey
- RE: Returning XML via webservice, con... Tom Kitta
- RE: Returning XML via webservice... Christopher Dempsey
- RE: Returning XML via webser... Tom Kitta
- Re: Returning XML via we... Chris Dempsey
- Re: Returning XML via webservice, cont Chris Dempsey