Running into a strange thing - I'm trying to execute a CFInvoke tag,
calling a method I just wrote into a CFC but I'm getting an error
saying that the method can't be found.
CFM code:
<cfinvoke component="parser" method="requestMethod"
returnvariable="ReturnXML">
<cfinvokeargument name="Request" value="#ThisXML#">
</cfinvoke>
CFC code:
<cfcomponent>
<cffunction name="requestMethod" access="public"returntype="struct"
output="false">
<cfargument name="Request" type="XML" required="true">
<cfset ReturnThis = StructNew()>
<cfreturn ReturnThis>
</cffunction>
....
</cfcomponent>
Error Text:
The method 'requestMethod' could not be found in component
C:\inetpub\wwwroot\mysite.com\parser.cfc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293923
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4