Always getting XML responses in FB 4.6

TheHoodedClaw

New Member
I'm working with webservices for iOS whose Request and Response are in JSON format. While accessing this webservice through flash builder, I'm getting response in XML format. But running the same app in iOS returns JSON. \[code\] private function service_activate(webservices:mx.rpc.http.HTTPService):void{ var args:String=new String("{\"SessionGuid\":\""+sessionid.text +"\"}"); webservices.resultFormat="text"; webservices.contentType="application/json"; webservices.send(args); } <fx:Declarations> <s:HTTPService id="webservice" url="http://webservices..." method="POST" contentType="application/x-www-form-urlencoded" result="webservice_resultHandler(event)" fault="webservice_faultHandler(event)" /> </fx:Declarations>\[/code\]Is there any way to get FlashBuilder response as JSON?
 
Back
Top