One way to diagnose this is by enabling the "Endpoint.*" debug pattern
in WEB-INF/flex/services-config.xml.  Search for level=".." and change
that to Debug and make sure Endpoint.* is in the pattern tags.  This
should show what the server thinks it is serializing to the client.   I
believe a Long will get converted to a Number in AMF since AS does not
have a "long" type.

 

Jeff

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Robs
Sent: Wednesday, April 18, 2007 2:47 AM
To: [email protected]
Subject: [flexcoders] FDS datatype parsing issue

 

Hi all,
We have an app which involves a Java Class communicating with the 
database & acting as a "producer". One of the output it returns is of 
type "Long" which, due to some reason is not getting parsed in Flex. 
The resultset shows the no. of records correctly, but the data is shown 
as blank. We tried to typecast the object as "int" & "Number" in Flex, 
but failed.
Can someone please help regarding this?

Thanks,
Robi.

 

Reply via email to