0 Replies Latest reply on Jul 11, 2012 12:11 PM by Hermes_F

    XML service won't invoke on debug


      I am developing a mobile app, using FB 4.5 with PHP, that requires a connection to a XML list. I followed the turtorial exactly as he did in "ADC Presents - Remote XML Services in Flex Mobile Applications" (http://youtu.be/Cksp7IyVNk4).


      I created the service view the services dialog, url invoked properly and I was able set up the service without issues. When I go to run the application in the desktop emulator no data is loaded. I am able to test the connection and the data loads, but in debug no connection is made. In the network monitor I can see that there is no activity.


      Here is the view that is using the data connection.


      <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"







                                    import mx.events.FlexEvent;

                                    protected function getData():void


                                              getDataResult.token = barListingService.getData();



                                    protected function list_creationCompleteHandler(event:FlexEvent):void


                                              getDataResult2.token = barListingService.getData();








                          <s:CallResponder id="getDataResult"/>

                          <barlistingservice:BarListingService id="barListingService"/>

                          <s:CallResponder id="getDataResult2"/>



                <s:List id="list" left="0" right="0" top="0" bottom="0"

                                    creationComplete="list_creationCompleteHandler(event)" labelField="barName">

                          <s:AsyncListView list="{getDataResult2.lastResult}"/>






      What am I missing?