]
http://www.ninthlink.com
619.222.7082
-Original Message-
From: Dick Applebaum [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 14, 2001 3:14 AM
To: CF-Talk
Subject: RE: Reading an XML post
I have only been using CF 5 for about 2 weeks and was unaware of the
GetHTTPRequestData() function
Thanks for the response, but I am unclear on a few things:
Apparently the GetHTTPRequestData() allows you to access an XML
(SOAP) packet that has been sent to you in an HTTP header...
eliminating the need for a form post.
If I wanted to code both ends of this application to application
At 10:46 AM -0400 8/15/01, Dave Watts wrote:
For some incredibly oversimplified sample code, you might look here:
http://www.figleaf.com/figleafhome/cfug/2001/CFUGJun2001/jun2001.zip
This contains two SOAP topics covered at the June DC-CFUG, as well as some
other stuff. Next month, I'm doing a
I have only been using CF 5 for about 2 weeks and was unaware of the
GetHTTPRequestData() function suggested by Paul and Dave Watts...
After reading the docs and experimenting with this function I don't
see what it does for you (in answer to the original question).
As far as I can tell,
help and for all the previous responses.
Ricardo Villalobos
Dimasys, Inc.
Date: Mon, 13 Aug 2001 19:27:48 -0400
From: Dave Watts [EMAIL PROTECTED]
Subject: RE: Reading an XML post
Message-ID:
[EMAIL PROTECTED]
One of our customers will start sending us orders using XML. They
basically
Thank you, this is what I needed. Due to budget limitations I
have to find a way to do this with ColdFusion 4.0. Any ideas
on how to read an HTTP Post without using form variables, CFHTTP
or CFFILE? (Remember, our customer is sending the XML file as
an HTTP post)
Unfortunately, the
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 14, 2001 3:14 AM
To: CF-Talk
Subject: RE: Reading an XML post
I have only been using CF 5 for about 2 weeks and was unaware of the
GetHTTPRequestData() function suggested by Paul and Dave Watts...
After reading the docs and experimenting
One of our customers will start sending us orders using XML. They
basically will post the file to a URL in our web server. Using ASP, I
can read the contents of the post using Request.BinaryRead. Is there
anything similar in ColdFusion?
You could use CFFile if it is a local asset or, perhaps
Read it using CFFile type=upload. You can then parse it using the
MSXML object.
---
Billy Cravens
HR Systems, EDS
[EMAIL PROTECTED]
-Original Message-
From: Zac Belado [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 13, 2001 4:57 PM
To: CF-Talk
Subject: RE: Reading an XML post
One
hmmm If you can get them to send you a WDDX file (which is just a standard
packaging DTS for XML), then you can use CFHTTP to read the file contents
into a variable, run the WDDX2CFM function to convert it into a recordset
for you, then use it as a plain jane Cold Fusion recordset.
I've done
If you have the ability to write the URL page they are posting to it
is very simple...
cfsetting EnableCFOutputOnly=Yes
cfif IsDefined(Form.XMLInput)
cftry
cf_XmlToFromStruct
action=XML2Struct input=#Form.XMLInput# output=structXMLIn
cfcatch type=any
: Reading an XML post
If you have the ability to write the URL page they are posting to it
is very simple...
cfsetting EnableCFOutputOnly=Yes
cfif IsDefined(Form.XMLInput)
cftry
cf_XmlToFromStruct
action=XML2Struct input=#Form.XMLInput# output=structXMLIn
can be found at
http://www.siteobjects.com/index.cfm?fuseAction=showProducts
-Original Message-
From: Dick Applebaum [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 13, 2001 5:45 PM
To: CF-Talk
Subject: RE: Reading an XML post
If you have the ability to write the URL page
, 2001 5:45 PM
To: CF-Talk
Subject: RE: Reading an XML post
If you have the ability to write the URL page they are posting to it
is very simple...
cfsetting EnableCFOutputOnly=Yes
cfif IsDefined(Form.XMLInput)
cftry
cf_XmlToFromStruct
action=XML2Struct input
One of our customers will start sending us orders using XML. They
basically will post the file to a URL in our web server. Using ASP,
I can read the contents of the post using Request.BinaryRead. Is
there anything similar in ColdFusion?
Yes, in CF 5 you can use the GetHTTPRequestData
With CF5, I believe that you use GetHTTPRequestData() to retrieve XML data
that has been POSTed to a CF template.
cfset requestData = GetHTTPRequestData()
This function returns a structure, the contents of which you can look up in
CFStudio inline help.
---
Paul Mone
Ninthlink Consulting Group
16 matches
Mail list logo