REST Adapter for remote components
August 17, 2006 · 3 Comments
About a month ago, I mentioned that I was writing a REST adapter for remote methods so that I could use XML POST operations to call methods on components instead of using SOAP. I also said I'd look into making it available. You can now download the endpoint.cfc file (12Kb ZIP). The comment at the top of the file explains how to use it.
The XML encoding for values (passed as arguments and returned as values) is modeled on the ColdSpring DTD. The main intended purpose for the REST adapter is to make it very easy for your ColdFusion components (with remote methods) to be called by all sorts of other technologies. We're using it to call CFCs remotely from Java because it's much easier to use REST web services from Java than SOAP web services!
Enjoy!
Tags: coldfusion

3 responses so far ↓
1 scott // Aug 18, 2006 at 2:20 AM
2 Kevin Hoyt // Aug 18, 2006 at 9:42 AM
Thanks again for early access to the CFC. I've written up using it from Flex, including example code.
http://weblogs.macromedia.com/khoyt/archives/2006/08/flex_to_rest_cf.cfm
Kevin
3 Pete Freitag // Nov 6, 2006 at 7:03 AM
Leave a Comment