0 Replies Latest reply on May 17, 2007 7:59 AM by snafu7x7

    web service debugging problem

    snafu7x7
      OK so heres the issue I'm struggling with. I'm trying to debug a call to an ASP.NET webservice I created to figure out why the data isn't displaying correctly in my data grid but for whatever reason it doesn't seem to be invoking the webservice when one would expect it to when I'm walking thru the code in the debugger. I have a breakpoint set in my ASP.NET webservice so I can see the moment the service gets hit. My code is below. The service gets hit on the ASP.NET side at some point AFTER the calls to send() and the assignment of lastResult in my loadData() method which doesn't seem to make sense to me. Anyone have any idea what the hell is going on here? I tried stepping thru all the Flex event handler stuff to identify exactly when the service is actually getting hit and it appears to be somewhere after the last call to UIComponent.callLaterDispatcher(Event).


      <mx:WebService id="ws" wsdl=" http://localhost:3019/TestSite/TestService.asmx?WSDL" useProxy="false">
      <mx:operation name="GetUserInfo">
      <mx:request>
      <userId>1</userId>
      </mx:request>
      </mx:operation>
      </mx:WebService>

      private function loadData():void{
      ws.GetUserInfo.send();
      datagrid.dataProvider = ws.GetUserInfo.lastResult;

      }