Well it looks like your function called remUpdateAssignments() has a 
return type of boolean, and isn't returning one as such.

So I'm guessing your function signature looks something like:

<cffunction name="remUpdateAssignments" returnType="boolean" ...>   
  <cfargument name="aAssignments" type="array" required="yes" >
  ....
</cffunction>

And you're not cfreturning a boolean value.

>Has anyone got this to work?
>
>I have been on this forever and cannto figure it out...
>
>I am creating an array of objects like this. The target is a row from
>a datagrid being dragged onto another grid.
>
>    for(var i = 0; i <event.target.dataProvider.length; i++){
>        aAssignments.push(event.target.dataProvider[i])
>     }
>
>
>aAssignments looke like this in the network monitor:
>
>Parameter 1:
>    name : aAssignments
>    type : anyType
>
>    value[array] :
>        length[Number] : 3
>
>        [0][object] :
>            NUMASSIGNMENTID[Number] : 2931
>            NUMLEVELOFEFFORT[Number] : 50
>            NUMPERSONNELID[Number] : 6
>            NUMPROJECTID[Number] : 1
>            TXTPROJECTNAME[String] : CPE
>            YNLEAD[Boolean] : true
>
>
>        [1][object] :
>            NUMASSIGNMENTID[Number] : 2933
>            NUMLEVELOFEFFORT[Number] : 1
>            NUMPERSONNELID[Number] : 6
>            NUMPROJECTID[Number] : 4
>            TXTPROJECTNAME[String] : Micromash
>            YNLEAD[Boolean] : true
>
>
>        [2][object] :
>            NUMASSIGNMENTID[Number] : 2932
>            NUMLEVELOFEFFORT[Number] : 50
>            NUMPERSONNELID[Number] : 121
>            NUMPROJECTID[Number] : 3
>            TXTPROJECTNAME[String] : Done Deals
>            YNLEAD[Boolean] : true
>
>
>And my argument in my CFC looks like this:
>
>    <cfargument name="aAssignments" type="array" required="yes" >
>
>But I get this Axis error when I try to update the record:
>
><soapenv:Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>coldfusion.xml.rpc.CFCInvocationException:
>[coldfusion.runtime.UDFMethod$InvalidReturnTypeException : The value
>returned from function remUpdateAssignments() is not of type
>boolean.]</faultstring><detail>...
>faultNamespaceURI[undefined] : undefined
>faultactor[undefined] : undefined
>faultcode[String] : soapenv:Server.userException
>
>The array seems well formed, I am at a loss.
>
>
>  
>




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to