Hi Fred,

> I am working on a project that requires me to post XML. I have done
this successful using CFHTTP with CF 4.5. Since I have not found a way
to receive XML posts withF, I used ASP to receive the packet which works
fine. So I send with CF, receive with ASP. The only other requirement is
to send a standard HTTP 1.0 status back to the server. If I don't it
keeps posting back to me for an hour.
 -- Sounds fun! :)


 
> Can anyone guide me to where I would find info on responding with  something like 
>this:
> HTTP/1.0 200 OK
> Date: Wed, 04 Oct 2000 14:05:44 GMT
> Server: Apache/1.3.9 (Unix)
> Content-Length: 406
> Content-Type: "text/xml"
 -- well, let's see... in CF you'd use the <cfheader> tag... in Java and
ASP, you'd use the Response object... so to get the above, you'd do
something like:

Response.status = "200 OK"
Response.ContentType "text/xml"

Does that work for you?  If not, check out the details of the response
object on MSDN (which doesn't work if you're on linux like me) or this
nice site:

http://www.w3schools.com/asp/asp_ref_response.asp

AJ
 
-- 
Aaron Johnson
http://cephas.net/blog/
[EMAIL PROTECTED]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to