Yup - We just come up against this - the remote server returns error code
500:

HTTP/1.1 500 Internal Server Error Date: Fri, 31 Aug 2001 09:14:24 GMT
Server: Apache/1.3.12 (Unix) mod_ssl/2.6.6 OpenSSL/0.9.6 Content-Length: 125
Connection: close Content-Type: text/html 

this occurs using CF5 on 3 different servers on 2 different networks...

The same code runs fine on CF4.5

the code we are using:

        <cfhttp method="POST" url="DummyURL">
                <cfhttpparam name="xmldata" type="FORMFIELD" value="#xml#">
        </cfhttp>

Any ideas anyone????

-----Original Message-----
From: j s [mailto:[EMAIL PROTECTED]]
Sent: 16 August 2001 19:57
To: CF-Talk
Subject: CF5 Scheduled Task and CFHTTP


Hello,

We have been using a scheduled task to run a template
that contains a cfhttp post for some time now without
incident - that is, until we upgraded our dev server
to 5.0. At first, I thought it might have something to
do with how the code on the page being called is
handling the cfhttpparam vars. This just isn't the
case, though, because after isolating the cfhttp call
and running it on another server with 4.5.1 installed,
it works great. It also works when the page is called
directly from the browser.

The code I have been testing this with is similar to
the following:

<cfhttp URL="http://myurl.com"; method="POST"
port="80">
<cfhttpparam type="FORMFIELD" name="search_str"
value="test">
<cfhttpparam type="URL" name="RequestTimeout"
value="60">
</cfhttp>

The page being called uses the search_str to query
either an Access or SQL Server DB (depending on the
application) and populate a wddx packet with the
results.

Please don't ask why we are using a scheduled task as
a way to call a search template - it's a long and
complicated story. Just know that it worked with 4.01
and 4.5.1.


Has anyone else run into this issue yet with 5.0?

Thanks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to