ColdFusion as a Service - method cheat sheet
I'm a massive fan of the ColdFusion as a Service feature added in to ColdFusion 9.
As my natural development path progressed from pure CF into adopting Flex technologies and practices, the integration between the two core languages and development platforms (CFML & Flex) became more important.
I've blogged about creating an AIR application in Flex using the CFaaS feature, have presented on it at last year's European Scotch on the Rocks tour, and at the online CFMeetup presentations (which you can view here and enjoy my crude jokes about MC Hammer)
Web Service Use
Of course the ability to utilise the exposed service layers is not explicitly granted to Flash/Flex users. A few of the core ColdFusion components have been opened up to allow non-CF developers to access and use these methods in their native languages, using the CFCs as a WSDL.
Documentation, where are you?
Following on from a thread in a Google group earlier this morning, it was pointed out, quite rightly, that unfortunately the documentation on this new addition is a little sparse to say the least.
Most, if not all, CF Developers will know how to implement and parse a web service, and as such the need to write an example on how to do this, especially to read a web service that runs ColdFusion methods IN ColdFusion, is kind of pointless.
There are basic examples of implementing the services in other languages, but nothing too detailed.
I WILL be covering this in more detail in part 2 of the ColdFusion as a Service tutorial posts.
The fundamental issue raised this morning was the fact that there seems to be no documentation on the methods available within the exposed components (with the exception of opening up the WSDL in either your browser or within ColdFusion Builder's remote services browser).
In an attempt to resolve this issue, I have compiled a rough (but hopefully detailed enough) PDF file that lists all of the methods available within the exposed service components, and all parameters accepted by each method.
I hope this will be of some help to those wanting to investigate or develop applications using the CFaaS features.
You can download the PDF file here