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, GetHTTPRequestData() places the XML (the 
content of the  form post) in a structure along with several other 
items from the http post operation.

Fine!  But what does this buy you over having the XML in a Form 
Variable (another structure)?

The XML is in the same format regardless of where it is stored... it 
still must be parsed to be useful.

Am I missing something?

TIA

Dick



At 4:43 PM -0700 8/13/01, Paul Mone wrote:
>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
>[EMAIL PROTECTED]
>http://www.ninthlink.com
>619.222.7082
>
>
>-----Original Message-----
>From: Ricardo Villalobos [mailto:[EMAIL PROTECTED]]
>Sent: Monday, August 13, 2001 2:35 PM
>To: CF-Talk
>Subject: Reading an XML post
>
>
>Hi,
>
>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?
>
>Thanks in advance for your help.
>
>Ricardo Villalobos
>[EMAIL PROTECTED]
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to