3 Replies Latest reply on Apr 7, 2008 10:20 AM by ntsiii

    How come the web service returns no result ?

    MayLam18 Level 1
      Hi everyone,

      If possible, please tell me how come the two trace statements return nothing. Thanks.

      May

      <mx:Script>
      <![CDATA[

      import mx.rpc.events.ResultEvent;
      namespace FaciNS = " http://FaciNet.com/";
      import mx.utils.ObjectUtil;

      public var __xmlResult:XML;

      public function onResult(e:ResultEvent):void{

      __xmlResult = new XML(e.result);

      trace(__xmlResult);

      var xlstMyListData:XMLList = __xmlResult..LogInUser;

      trace(xlstMyListData);
      }


      ]]>
      </mx:Script>

      -----------------------------------

      <?xml version="1.0" encoding="utf-8" ?>
      - <ArrayOfLogInUser xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns=" http://FaciNet.com/">
      - <LogInUser>
      <SouID>2</SouID>
      <LogInUserID>5</LogInUserID>
      <LogInUserName>jimmylam</LogInUserName>
      <DialectID>1</DialectID>
      <CreatedByUserID>1</CreatedByUserID>
      <UpdatedByUserID>1</UpdatedByUserID>
      </LogInUser>
      </ArrayOfLogInUser>