Tony,

On some servers, the type of text/xml causes them to crap out.  I imagine
there's no entry for it.  You could just as well use:

text/plain or text/html

The point is to clear the output buffer.  Alos, make sure debugging is
turned off and move the output right next to the <cfcontent> tag (to
elimnate the line breaks).  That doesn't matter for CF but some parsers
can't trim out the whitespace.

-mk

-----Original Message-----
From: Tony Weeg [mailto:tony@;navtrak.net]
Sent: Thursday, October 31, 2002 10:34 PM
To: CF-Talk
Subject: RE: cfhttp.filecontent question....


matt.

i put that in there...and now im getting a connection failure...

                                <cfsetting enablecfoutputonly="yes">

                                <cfcontent type="text/xml">


<cfoutput>#ScoreWizardXMLWDDX#</cfoutput>

is what i have put in there....

?

tw

-----Original Message-----
From: Matt Liotta [mailto:mliotta@;r337.com]
Sent: Thursday, October 31, 2002 11:17 PM
To: CF-Talk
Subject: RE: cfhttp.filecontent question....


<cfsetting enablecfoutputonly="true">
<cfcontent type="text/xml">
<cfoutput>#thexmlstring#</cfoutput>

Matt Liotta
President & CEO
Montara Software, Inc.
http://www.montarasoftware.com/
888-408-0900 x901

> -----Original Message-----
> From: Tony Weeg [mailto:tony@;navtrak.net]
> Sent: Thursday, October 31, 2002 11:12 PM
> To: CF-Talk
> Subject: cfhttp.filecontent question....
>
> hi all.
>
> ok, i have a page, that has a bunch of cf logic in it.
> i want to be able to, from a remote system post some
>
> <cfhttpparam type="Formfield" value="tweeg" name="username">
>
> to it, using this
>
> <cfhttp method="post"
>
url="http://localhost/clients/cx_WebServiceApp/ScoreWizard/webService/ht
> tpRequest.cfm">
>
> and have it return back an xml string, which is generated at the end
of
> the cfm page that i am
> posting these form variables to.
>
> i have gotten this to work as a webservice, however i was told that
> i might be better off doing this as a simple http request/post,
> scenario....what my question is...
> is this....
>
> what am i supps to put at the bottom of the cfm page that i am
> posting/requesting to,
> that says, when you are all done, this is what the cfhttp.filecontent
> should resolve to....(my xml document/string)
>
> thanks for any help.
>
> ...tony
>
> tony weeg
> [EMAIL PROTECTED]
> www.revolutionwebdesign.com
> rEvOlUtIoN wEb DeSiGn
> 410.334.6331
>
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to