E4x event.result is XML.  But the division between XML and XMLList is
blurred, since most XML methods will work on an XMLList that has only a
single node.

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Mykola Dzyuba
Sent: Friday, March 21, 2008 2:40 AM
To: [email protected]
Subject: [flexcoders] Re:Help binding an XML file from a webservice?

 

Hi, 

 

Your code looks mostly right. Just a couple of updates. You need to
define namespaces as you see in your SOAP response. Also, it might be
different in your case, but I think event.result in e4x mode is XMLList,
not XML. Can you add this line to your handleGetSpecies method to see
the actual type?

 

trace("result type: " + (typeof event.result));

 

Somebody asked a similar question a couple of days ago. You might want
to check this post:

 

http://tech.groups.yahoo.com/group/flexcoders/message/106748
<http://tech.groups.yahoo.com/group/flexcoders/message/106748> 

 

- Mykola

 

 

Reply via email to