Using ASP .Net web service

Avatar

Avatar

PeteApps

Avatar

PeteApps

PeteApps

21-12-2008

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.



How do I "Attach Code" to this post?
View Entire Topic

Avatar

Avatar

Zee_Yang

Avatar

Zee_Yang

Zee_Yang

22-12-2008

you might find this article useful,
http://www.adobe.com/devnet/flex/articles/flex_ws.html



note, flex only supports up to soap 1.1. i'm not an .net
expert, but i believe it uses a higher version of soap by default.
i would recommend you looking into weborb for .net instead.