well, you wouldn't have thought it, but it seems to work....


Thanks for the help


Neil

-----Original Message-----
From: Craig Dudley [mailto:[EMAIL PROTECTED]
Sent: 07 October 2003 13:28
To: CF-Talk
Subject: RE: Strange CFHTTP Error

Have you tried putting the cfhttp call in a custom tag or cfc?

Might not make any difference, but you never know.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 07 October 2003 13:31
To: CF-Talk
Subject: RE: Strange CFHTTP Error

Anyone? This is starting to drive me crazy...

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 07 October 2003 09:48
To: CF-Talk
Subject: Strange CFHTTP Error

I'm writing a small load testing script for a XML service we
provide but am
running into some very strange problems with CFHTTP.

Basically I have code like the following:

<cfloop query="getVehicles">

<cfxml variable="myXmlStr_object">
  <cfoutput>
        ...some XML
  </cfoutput>
</cfxml>
  
<cfhttp url="" http://www.myserver.com/control.cfm
<http://www.myserver.com/control.cfm>
<http://www.myserver.com/control.cfm>
<http://www.myserver.com/control.cfm> " method="post">
  <cfhttpparam type="url" name="xml"
value="#trim(ToString(myXmlStr_object))#">
</cfhttp>

</cfloop>

which, when running it for a single event works perfectly.
However, when I
start to load more than one request into it different things
happen.  The
first request always goes through first time, but all subsequent
requests do
not appear to be sending the "XML" formfield through ("XML"
comes up as
completely undefined in the service, so it's not a blank
string).

Has anyone come across this before?  Is there a way round it?

Neil

  _____  

  _____  

  _____  


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to