1 Reply Latest reply on Jul 5, 2007 11:09 AM by ntsiii

    result does not contain elements in my XML

    HughFlex
      Hi, After getting back an XML response from webservice, event > Message > Body has data that I need within the SessionKey in the InfoKey Tag as expected. However, the result object which I need to use to get access to this SessionKey does not contain this key. How can I get access to this key? The declaration for my servcie is as follows:
      public function authenticateUser(event:LoginEvent2):void
      {
      var service:WebService = new WebService();
      service.wsdl=" http://localhost/Component/AuthWS.asmx?WSDL";
      service.loadWSDL();
      //Add result and fault handlers here
      service.addEventListener("result", authenticateHandler);
      service.addEventListener("fault", serviceFaultHandler);
      service.Login(event.data.userName, event.data.password, 1, "5.1.2.14");
      }