My bet is that you have not set resultFormat="e4x", and Flex is converting your xml into a nested structure of dynamic Objects. As it does this, it tries to be smart about data types and converts some of the strings (xml transports all values as strings) into numbers. As you can see, it is not as smart as one would like.
Set your resultFormat, and work with true XML. Some folks would advise RemoteObject and registerClassAlias, so yo would get your objects transported wholly. Tracy ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of valdhor Sent: Thursday, November 13, 2008 11:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Http Servcie Round Up problem I don't use Java but my initial reaction is that you have data typed the result as an int and Flex is rounding the result due to precision issues. Is there any way you can data type the result as a string? --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , sandip roy <[EMAIL PROTECTED]> wrote: > > Hi, > I am using flex3 in the client side and java 5 in the server side in a web application. > In my application to exchange the data I am using HttpService data communication mechanism. > Â > Now in this mechanism I am facing the following problem. > Â > A field is alphanumeric in nature. Now when it contains purely numeric value more than 14 digits, then when accessing it in the success result handler it is giving the round up value though I need the original value. > Â > For example: > Â > Let say it is BIC Code and its original value is 5251010000000327842. > Â > When I am generating the response from the server side I am setting this value. > Now when I access this from the success result handler I get the value as 5251010000000328000 instead of 5251010000000327842. > Â > Â > Can any one help me how to over come the problem? > Thanks in advance. > Â > > > Connect with friends all over the world. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/ <http://in.messenger.yahoo.com/?wm=n/> >