I guess I'm missing something then. 

 

Even when not using coldspring, if I return say a query from a cfc and
the returntype of the cfc is set to "Query" I get an ArrayCollection but
if the returntype of the CFC is "any" I get some kind of generic object
with a serverinfo property. Yes the data is there, but message.body is
not the right type. 

 

It's been my experience and was my understanding that you needed to
state the correct returntype for CF to return the correct AS type. If
others are using returntype "any" and it works I guess I'm doing
something else wrong.

 

 

 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Kurt
Wiersma
Sent: Saturday, June 23, 2007 11:53 AM
To: [email protected]
Subject: [coldspring-dev] RemoteProxy Question

 

I use the RemoteFactoryBean to create remote proxies and I don't have a
problem getting the CFC instances to get translated to AS objects in
Flex 2. Are you sure you have the correct metadata in the AS class and
CFC so that CF/Flex can do the translation? 

 

--Kurt

On 6/23/07, Messer, Jon <[EMAIL PROTECTED]> wrote: 

When using RemoteFactoryBean, the remote proxies that get generated have
return types of "any" which won't allow CF to do its CFC to AS black
magic. It looks like if the accessType of the target method is "remote"
then the returnType of the proxy is always set to "any". I think the
answer is no, but is there a way that I'm missing to tell coldspring to
preserve the original returntype (without modifying AopProxyUtils)?

 

 

 


 

Reply via email to