Actually, when I added resultFormat="e4x" in the operation declaration inside my webservice tags, the returning XML has some &lg values.
If for example I set the resultFormat="e4X", then in the resultHandler, it should be that: myXMLData = (event.result) but it seems the XML data is not constructed properly. The method which I last posted actually works fine for me, except that I am thinking that maybe using e4x format would provide me more flexibility and speed in my web service method calls parsing. Thanks. ________________________________ From: Oleg Sivokon <[email protected]> To: [email protected] Sent: Tue, 20 July, 2010 9:22:36 Subject: Re: [flexcoders] e4x and XML in Web Service Calls I think that E4X is the default for the WebService. E4X isn't exactly a format... it's a language extension added to ECMAScript, just like regular expressions language in many other languages, or LinQ in .NET. Essentially, when you did this: myDataXML = XML(evt.result) ; You have already "converted" it to E4X, (the alternative handling of XMLs is the XMLDocument class). XML and XMLList classes allow using E4X expressions on them, XMLDocument doesn't. If you have any specific problem compiling an expression, please post it, so far all that you have posted looks OK.

