Sep 11
Nice ColdFusion 8 web services enhancement
Posted by James Netherton | Tuesday 11 September 2007 5:00 AM | In ColdFusion
Something I just came across by accident...
Imagine you have this block of code:
ws = createObject("webservice","http://www.mydomain.com/webservice.cfc?wsdl");
</cfscript>
<cfdump var="#ws#">
ColdFusion will then dump and display the object representing the webservice stub that has been generated. In ColdFusion 7 you'd get a list of methods as shown in the example below. It isn't obvious where the webservice remote methods are as usually they would be mixed together with various Java service stub methods. Also, any parameters required by the remote methods are not listed.

In ColdFusion 8, the output from CFDUMP has been improved so that the service methods are more obvious and any arguments the methods expect are also listed.

Nice!
0 Comments
[Post comment]