Sure, here what it looks like:
<!--- Create COM object --_>
<cfobject type="COM" name="oXML" class="Microsoft.XMLHTTP" action="CREATE">
<!--- Prepare the XML --->
<cfscript>
xmlrequest = "<?xml version='1.0'?>"
& "#MyXMLRequest#"
// Get the object ready for posting (tell it to where it will be posted)
oXML.open("POST", #Server URL To Post#,false);
// Send off the object
oXML.send(xmlrequest);
</cfscript>
Cheers
-----Original Message-----
From: cfserver [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 22, 2001 4:17 AM
To: CF-Server
Subject: [OT] - HowTo for XML Requests? was: "RE: Problem with <cfhttp>"
Ah - just the person, er, thread, I was hoping to see. ;P
I am [trying] to send out an XML request for a current client as well, and
really have no clue as to where to start... I've tried using cfhttp as well
as MSXMLHTTP (at least, from what little I've been able to decipher on how),
but I'm coming up empty every time, with both methods... Might you possibly
have some code snippets/samples of how to do this, or a good resource
("Sending XML Requests via CF for dummies, Abridged") that I might be able
to check out? Anything at his point would be much appreciated!
TIA
George
-----Original Message-----
From: Ron Anderson [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 22, 2001 2:28 AM
To: CF-Server
Subject: FW: Problem with <cfhttp>
Hi Tom,
I encountered a similar problem when sending an XML request to a outside
server using CFHTTP. We're using CF4.5 SP2 on NT and I got the same error.
Couldn't get the problem solved using CFHTTP, so I switched to using the MS
XMLHTTP object and bang!...the problem was resolved.
Looks like a bug in CFHTTP, but I didn't take the time to address it with
Allaire.
Cheers
-----Original Message-----
From: Tom Espen Pedersen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 4:26 AM
To: CF-Server
Subject: Problem with <cfhttp>
We've encountered a problem on one of our customers servers.
We use <cfhttp> to grab a wddx packet from an outside the house server.
This has worked perfectly up until tuesday 19th.
The error we get is : Connection Failure
we suspected this to be a bug in CF 4.5 so we upgraded the server to 4.5.1
sp2.
Has anyone encountered errors like this ? and how did you solve them ?
A reinstall of CF server is the last thing we wanna do since they've got
alot of services running on that machine.
Sincirely
Tom Espen Pedersen
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com