XML and SOAP
Posted on 2005-04-15
I am in the process of developing an ASP.net database project based on a Win32 prototype. I've been able to write a service application that uses BDP to connect to an Access database and client app which invokes the service, both passing parameters successfully. It was relatively painless.
I'm a bit confused on where to start with this SOAP and XML thingy. I see the XML and SOAP code in the browser when I test the service, so I know D2005 is creating it for me. If all I needed to do was pass parameters and get results I would be fine. But some calls would be very complex, like where I get a list of objects from a database via a server call and later update the database based on object properties. Seems to me these shoud be XML documents instead of complex parameter lists. Note that I have no data controls in my client app.
What is the general approach? Somehow I need to define a set of XML documents which will be my query and responses between my client and server. THen I need a mechanism to pass them back and forth. I've read some general info on XML and it looks pretty simple. But I've not seem much on how to define the schema. Please start me off in the right direction with SOAP/XML schema creation, doc exchange and parsing.