I'm trying to create a remote method with a complex data type as an 
argument in CF8.  I define the method and arguement like this:

<cffunction name="getQuestionList" access="remote" output="No" 
returntype="question[]">
<cfargument name="documents_raw" required="yes" type="document[]">

When I try to call it, I get an error:

[coldfusion.xml.rpc.CFCInvocationException : 
[coldfusion.runtime.CfJspPage$NoSuchTemplateException : Could not find 
the ColdFusion Component services.document.]]

I've tried creating a document object as a protytype as a property of 
the webservice:

<cfcomponent displayname="integration" output="no">     
<cfproperty name="document_prototype" type="document">

I still get the error.  What am I doing wrong?

--Ben Doom


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:285317
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to