Re: How would I send an XML file to another server/application?
Wow, thank you guys so much. I was not sure about the cfhttp thing. Much Much appreciated! - Ian On 10/27/05, Anthony Prato <[EMAIL PROTECTED]> wrote: > I had a client who could not figure out how to send and xml post like > Andy's example. On my recieving page I put this code to allow them to > post as a named form field or an xml post. > > > > > > > > > ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222650 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: How would I send an XML file to another server/application?
I had a client who could not figure out how to send and xml post like Andy's example. On my recieving page I put this code to allow them to post as a named form field or an xml post. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222453 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: How would I send an XML file to another server/application?
Here's the code: This particular setup expects a boolean return value. -Original Message- From: Ian Sheridan [mailto:[EMAIL PROTECTED] Sent: Thursday, October 27, 2005 10:46 AM To: CF-Talk Subject: How would I send an XML file to another server/application? I'm sorry that his is such a basic question but frankly I have not had to do this outside of webservices. I will be needing to send an xml document and will need to recieve a responce back also an xml document. What are the mechanics of this action? I am not really sure where to start. CFHTTP? How do I recieve the file? CFFILE? Hehe sorry about the noobness - Ian -- -- Ian Sheridan http://www.savagevines.com -- ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222440 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: How would I send an XML file to another server/application?
Assuming you are sending to another HTTP server, you can use CFHTTP to "post" a form field that contains the XML information. Then, with the same CFHTTP call, you will receive the reply in the fileContent variable. M!ke -Original Message- From: Ian Sheridan [mailto:[EMAIL PROTECTED] Sent: Thursday, October 27, 2005 10:46 AM To: CF-Talk Subject: How would I send an XML file to another server/application? I'm sorry that his is such a basic question but frankly I have not had to do this outside of webservices. I will be needing to send an xml document and will need to recieve a responce back also an xml document. What are the mechanics of this action? I am not really sure where to start. CFHTTP? How do I recieve the file? CFFILE? Hehe sorry about the noobness - Ian -- -- Ian Sheridan http://www.savagevines.com -- ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222439 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
How would I send an XML file to another server/application?
I'm sorry that his is such a basic question but frankly I have not had to do this outside of webservices. I will be needing to send an xml document and will need to recieve a responce back also an xml document. What are the mechanics of this action? I am not really sure where to start. CFHTTP? How do I recieve the file? CFFILE? Hehe sorry about the noobness - Ian -- -- Ian Sheridan http://www.savagevines.com -- ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222438 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54