As far as I know you can't specify a return type as an array of component instances.
On 8/3/07, Ben Doom <[EMAIL PROTECTED]> wrote: > > 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:285353 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

