Hi, Zee. Thanks for the link to your article, it helped.
Here is where I am at.
I have a simple web service that returns XML. The web service
was returning an ASP .Net XmlDocument, but that gave me an error in
Flex on the return. It looks like Flex didn't know how to deal with
that, complaining about the type. I changed the web service result
to String. I added a listener like your example shows, where I take
the string, cast it to XML and store it in a private variable. My
mx:Binding statements then use the E4X expressions to map the
appropriate XML nodes to the form. This is great and is very
flexible. There is a very loose binding through the XML to my
database.
The next challenge for me is to reverse this process for
updating records back to the web service via XML. I need to build
an XML document from my controls on the page. Any ideas of where to
look for classes to build an XML document from the page controls?
Also, if anyone can give me a clue on how to "Attach Code" I
would be glad to share what I have. I do not see an "Attach Code"
button anywhere on the page. I have tried Camino, Firefox, and IE.
It has taken me many hours more than I thought it would to get this
far, perhaps sharing the code would save others some time and
frustration.
Regards,
Pete