There seems to be a significant shortage of information regarding the
use of these 3 things together. For the life of me I cannot solve this
seemingly simple problem. I have a SOAP call whose returned xml starts
out like this:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Header>
    <wsu:Timestamp
xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility">
      <wsu:Created>2006-06-02T19:48:15Z</wsu:Created>
      <wsu:Expires>2006-06-02T19:53:15Z</wsu:Expires>
    </wsu:Timestamp>
  </soap:Header>
  <soap:Body>
    <GetDocumentResponse
xmlns="http://mysite.com/BackOffice/DocumentMetadata">

But when I use the following code to retrieve content from it

namespace dm = "http://mysite.com/BackOffice/DocumentMetadata";
use namespace dm;
var x:XML;
x = new XML(event.message.body);
wtf = new XMLListCollection(x..RPRDocumentHistory.Entry);

I get a list of Entry nodes that have all 4 namespace declarations
attached to them even though the original nodes didn't have any.
Additionally, my DataGrid that uses wtf as its dataProvider gets
populated with blank entries (I can roll over them but no text is
displayed), which I have experienced before and is somehow related to
namespace issues.

How can I fix this? Are there any articles/tutorials that address
these topics in depth?

Thanks,
Ben






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to