Hi. I am a newbie that is trying to use an ASP .Net web service to retrieve and return rows from/to a database. These web services return XML and the Insert and Update web services also accept XML as input. I want to use XML rather than objects, since the binding with E4X works very well and I don't want to do endless updates to my objects as the schema changes.
I have used the Data > Import Web Service (WSDL) wizard to create a set of classes. This looks way cool, but I am at a loss as to how to use them. Specifically, how do I bind the output from the SelectByKey to my form controls? Also, how can I build the XML to send back to the Update web service?
Here is my original mxml source that I used to create a simple form. I have created a constant that has the same xml as returned by my web service. I have setup my mx:Binding to parse the xml to the page controls.
I want to invoke the web service to retrieve the xml from the web service and populate the database. The next step will be to use the web service to update the row back to the server.