That was it. Its being interpreted on output to the browser. Weird but
probably exactly whats expected..

Brings up another weird issue which may or may not be related to this.
Inside the CFC I am trying to take the XML that I get back from CFHTTP call
and parse it using CFXML. When I try to cfoutput the cfhttp.FileContent into
the CFXML tags I get "XML declaration may only begin entities" error and the
following code from inside the CFC with the middle highlighted...

46 : <cfxml variable="xmlobj">
47 : <cfoutput>#trim(cfhttp.FileContent)#</cfoutput>
48 : </cfxml>

Ideas??

J

On 11/1/06, Ben Nadel <[EMAIL PROTECTED]> wrote:
>
> Call me crazy, but how are you testing this? It's possible that in one
> view you are only seeing the text because it things the XML is HTML
> markup and does not show up. Try looking at the SOURCE of that page.
>
>
> ......................
> Ben Nadel
> Certified Advanced ColdFusion MX7 Developer
> www.bennadel.com
>
> Need ColdFusion Help?
> www.bennadel.com/ask-ben/
>
>
>
> -----Original Message-----
> From: J W [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 01, 2006 4:25 PM
> To: CF-Talk
> Subject: CFHTTP within CFC issue..
>
> Been looking at this one for a while today..
>
> Within a CFC nested inside a certain function. I make a cfhttp call to a
> webservice. I am expecting to get back XML from the webservice to parse
> out.
> What I get is all the text with all the XML tagging removed.
> Consequently down the line in the CFC I want to parse out the CFHTTP XML
> response using CFXML. Seems feasable.
>
> If I do the CFHTTP outside the CFC in a regular CF page I get the proper
> XML response back.
>
> Am I missing a parameter somewhere in the CFC that causing the CFHTTP
> XML response to be stripped of all XML tags?
>
> Thanks,
> J
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258746
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to