In my flex application I am using httpService to connect to the server, for the response from server I wanted it to convert the http response to flex object, Is there any remote implementation availabe for the above purpose
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
to augment earlier post, it depends on what you are sending from the server side. If you are using HTTPService then it is ideally a XML document (RestFul style). Based on the result format set to the service object, flex tries to convert it to that type of result by mapping XML to other type of flex object. most useful result formats in this case would be object (default), e4x, xml. for more information you need to see ASDoc.
if the payload of your HTTP is custom object which is directly serialized on server side (not to xml), then it is pretty hard to re-construct that object on flex side.
IF you payload is String or any other format which you want to parse manually then set the result format to “text” which will return you a string and you can process it later.