RE: Reading an XML post

2001-08-15 Thread Dick Applebaum
] 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

RE: Reading an XML post

2001-08-15 Thread Dave Watts
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

RE: Reading an XML post

2001-08-15 Thread Dick Applebaum
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

RE: Reading an XML post

2001-08-14 Thread Dick Applebaum
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,

RE: Reading an XML Post

2001-08-14 Thread Ricardo Villalobos
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

RE: Reading an XML Post

2001-08-14 Thread Dave Watts
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

RE: Reading an XML post

2001-08-14 Thread Paul Mone
[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

RE: Reading an XML post

2001-08-13 Thread Zac Belado
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

RE: Reading an XML post

2001-08-13 Thread Billy Cravens
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

RE: Reading an XML post

2001-08-13 Thread Shawn Grover
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

RE: Reading an XML post

2001-08-13 Thread Dick Applebaum
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

RE: Reading an XML post

2001-08-13 Thread Hinojosa, Robert A
: 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

RE: Reading an XML post

2001-08-13 Thread Dick Applebaum
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

RE: Reading an XML post

2001-08-13 Thread Dick Applebaum
, 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

RE: Reading an XML post

2001-08-13 Thread Dave Watts
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

RE: Reading an XML post

2001-08-13 Thread Paul Mone
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