Just a thought - you may want to go with StructCopy() rather than duplicate(). StructCopy() will give you a shall copy of the arguments - leaving object references intact. Duplicate will do a *deep copy* of everything you are passing through - which is both going to be slow, but also cause some potentially nasty issues down the line.
Mark On Fri, Apr 16, 2010 at 10:39 AM, Phil Haeusler <[email protected]> wrote: > Hi Gavin, > > I think we're in luck, > > Can you just try changing that Line 416 in Service.cfc from the original > > > <cfreturn webService.send(missingMethodName, missingMethodArguments)> > > to > > <cfreturn webService.send(missingMethodName, > Duplicate(missingMethodArguments))> > > It seems that there might be something different under the hood of only the > missingMethodArguments argument in the onMissingMethod function in CF9. > Running a Duplicate() on it seems to fix it up into proper struct which can > then successfully be passed to the underlying webservice. > > Can you double check and confirm that this fix works for you also. > > Thanks > Phil > > > > On 15/04/10 11:32 PM, Gavin Baumanis wrote: > >> Well, >> >> To keep everyone in the loop; >> The brains-trust at tonight's Melbourne CFUG all gave me some >> assistance with trying to "nut-out" what I had done wrong. >> (After the presentation on using the built-in debugger of CFBuilder) >> >> Happy to report that I hadn't done anything wrong - it turns out to be >> a CF9 related issue. Well that was the consensus anyway! >> Just to prove them right , I have just downloaded / installed CF8 and >> my code works fine and dandy. >> >> It seems there is an issue with attribute type casting within the >> Galaxy code - where it uses Java classes directly. >> Phil has kindly offered to take the baton on this one and work with >> Robin to see if it can be resolved for CF9. >> >> It's not all doom and gloom though.... if the CFC is called locally >> then Galaxy will correctly create as many instances of the object that >> I have asked it to - and all arguments are accepted / actioned as one >> would expect too. >> >> So we can continue to re-develop our application using Galaxy SOA as >> long all the CFCs are local - which is most likely going to be the >> case (at least initially), even when the Remote type casting has ben >> nutted out. >> >> Gavin. >> > > -- > You received this message because you are subscribed to the Google Groups > "cfaussie" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<cfaussie%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/cfaussie?hl=en. > > -- E: [email protected] T: http://www.twitter.com/neurotic W: www.compoundtheory.com Hands-on ColdFusion ORM Training @ cf.Objective() 2010 www.ColdFusionOrmTraining.com/ -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
