Re: xml and CF...reading from a post action [ solved ]

2005-03-10 Thread Protoculture
Thanks All, this is really the first time working with http headers in this 
manner along with xml and CF... should be a good project.

Thanks for pointing me in the right direction!

~|
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:198220
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: xml and CF...reading from a post action

2005-03-10 Thread Connie DeCinko
Grab it via CFHTTP and save it to your hard drive.
 

-Original Message-
From: Protoculture [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 10, 2005 7:28 AM
To: CF-Talk
Subject: xml and CF...reading from a post action

Apparently we are getting an XML feed. Where I dont get whats going on is
how I can grab that feed. I understand grabbing a file on the server etc (
easy ) but the techs are talking about sending an 'xml feed' to a
template that we set up.

I dont know exactly how its being sent... via form or url 

So how can I grab that xml feed?



~|
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:198214
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


Re: xml and CF...reading from a post action

2005-03-10 Thread S . Isaac Dealey
> MORE info here's what will be sent to us...looks like
> the xml will be in the headers so how can I grab that
> for the purposes of using an xml object in cf?

I believe the structure returned by getHTTPRequestData() includes a
structure which includes all of the http headers, so if you had an
http header of X-Marmalaide you would reference the value of that
header with something like:




Just use  to output the request data if it's not "head" and
you're not sure what the name of the structure is -- it should be
obvious from the dump.


s. isaac dealey   954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/story/?storyid=48229&DE=1
http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.sys-con.com/story/?storyid=48229&DE=1
http://www.fusiontap.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:198203
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: xml and CF...reading from a post action

2005-03-10 Thread Shawna Hampton
Well, I can tell you what we're doing ... maybe this will help.

We have XML flying back and forth between our ColdFusion Web server and an 
internal BizTalk server to exchange data.

When BizTalk generates its XML to the Web, it sends it via HTTP to a template 
on the site. In that template I use GetHttpRequestData().content and XMLParse 
to grab the XML from the HTTP post and manipulate it. Works pretty well.

Shawna


~|
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:198200
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: xml and CF...reading from a post action

2005-03-10 Thread Protoculture
MORE info here's what will be sent to us...looks like the xml will be in 
the headers so how can I grab that for the purposes of using an xml object 
in cf?


POST http://your.url.goes.here/the_page.cfm
Cache-Control: no-cache
Connection: Keep-Alive, TE
Accept: text/html, image/png, image/jpeg, image/gif, image/x-bitmap, */*
Accept-Charset: windows-1252;q=1.0, utf-8;q=1.0, utf-16;q=1.0, 
iso-8859-1;q=0.6, *;q=0.1
Accept-Encoding: identity, *;q=0
Accept-Language: en
TE: identity, trailers
User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows XP) Opera 6.03  [en]
Content-Type: text/xml

.


~|
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:198198
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