Not sure if this was just your typing or the actual code but you've misspelled your return in the test function. <cfreturn agruments.text> should be <cfreturn arguments.text>
On Thu, Jul 7, 2011 at 4:57 PM, Leon Chalnick < lchaln...@advantasolutions.com> wrote: > > I'm encountering the problem on a newly configured CF9 server (no hotfixes > yet). > > I'm using cfajaxproxy to create a JS proxy for a CFC. Here's the method in > the CFC: > > <cffunction name="test" access="remote" returntype="string" > returnformat="JSON"> > <cfargument name="text"> > <cfreturn agruments.text> > </cffunction> > > Here's the code in the template that that is attempting to invoke this: > > <cfajaxproxy cfc="cfcs.utilities" jsclassname="xxx"> > ... > > <script type="text/javascript"> > var util = new xxx(); > var x = util.test("hello"); > </script> > ... > > When I run this code, I get an error message in Firebug "Error: The method > GET was not found in component C:\MyPATH\CFCS\UTILITIES.CFC" > > I've used cfajaxproxy successfully to do this on other servers before; this > is the first time I'm trying it on this particular server using CF9. Anyone > have any clues what the GET method is about in this case? BTW, I get the > same message from Firebug re: method GET was not found, not matter which > function I try calling in the CFC. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346141 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm