Is what you posted the result of doing trace(xmlResult.toXMLString)?

 

What happens if you trace(xmlResult.loginReturn.toXMLString())?

 

Tracy Spratt 
Lariat Services 

Flex development bandwidth available 

________________________________

From: [email protected] [mailto:[email protected]] On
Behalf Of Wally Kolcz
Sent: Monday, February 02, 2009 2:08 PM
To: [email protected]
Subject: [flexcoders] XML walkdown Help

 

I am getting a weird return from Blue Dragon's CFC wsdl as my e.result.
I need to set this to 2 local XMLList variables but am having a devil of
a time walking down this path to the core nodes. Any ideas on how to
make this usable?

Tracy has been trying to help me, but this return item is impossible to
work with. I tried xmlColumns =
loginReponse.loginReturn.columnList.columnList but it doesn't work.
Neither does the same for data.

Here is the result that is returned from Blue Dragon:

<ns1:loginResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:ns1="http://security.umich.edu.prmcprojects";
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <loginReturn xsi:type="ns2:QueryBean"
xmlns:ns2="http://rpc.xml.coldfusion";>
    <columnList soapenc:arrayType="xsd:string[8]"
xsi:type="soapenc:Array"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>
      <columnList xsi:type="xsd:string">
        UNIQNAME
      </columnList>
      <columnList xsi:type="xsd:string">
        PASSWORD
      </columnList>
      <columnList xsi:type="xsd:string">
        LASTNAME
      </columnList>
      <columnList xsi:type="xsd:string">
        FIRSTNAME
      </columnList>
      <columnList xsi:type="xsd:string">
        POSITION
      </columnList>
      <columnList xsi:type="xsd:string">
        DEPARTMENT
      </columnList>
      <columnList xsi:type="xsd:string">
        ROLE
      </columnList>
      <columnList xsi:type="xsd:string">
        ISACTIVE
      </columnList>
    </columnList>

    <data soapenc:arrayType="xsd:anyType[][1]" xsi:type="soapenc:Array"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>
      <data soapenc:arrayType="xsd:anyType[8]" xsi:type="soapenc:Array">
        <data xsi:type="soapenc:string">
          wkolcz
        </data>
        <data xsi:type="soapenc:string">
          2113
        </data>
        <data xsi:type="soapenc:string">
          Kolcz
        </data>
        <data xsi:type="soapenc:string">
          Wally
        </data>
        <data xsi:type="soapenc:string">
          Senior ColdFusion Architect
        </data>
        <data xsi:type="soapenc:string">
          PRMC
        </data>
        <data xsi:type="soapenc:string">
          admin
        </data>
        <data xsi:type="soapenc:int">
          1
        </data>
      </data>
    </data>
  </loginReturn>
</ns1:loginResponse>

 

Reply via email to