Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Data Services
Viewing all articles
Browse latest Browse all 58696

HttpService with JSON from server - help please

$
0
0
Hi!
I am trying to pass back a JSON object to flex using HttpService. The scenario is like this - using HttpService I am calling an action since i am using Struts 2.0 . This action is supposed to return a string in JSON format. When i am passing back the data in XML format the data is properly displayed with the required hierarchail structure. But when I am passing back the JSON string it is not displaying anything.

This is the call to server
<mx:HTTPService id="srv" url="...... / myaction/getSomeData.action"/>

the srv value is coming as null.

I am a total newbie to flex.

Thanks for any help in advance,
Rohit

Viewing all articles
Browse latest Browse all 58696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>