I think I see some confusion about XML here. It is best to think of XML in
the same way that you think of HTML or any programming language. It is
simply a language, a set of semantics for creating a large variety of
entities, thousands of types in fact. It's extremely useful for creating
various kinds of data structures, but it is not useful to think of these
data structures as XML, but as what they represent. An XSD is an XML schema.
It represents the data structure of a database. A Web Service is a service
that uses the SOAP protocol, which employs XML, to make method calls to a
web server, and get back results. XML is involved in the process, but there
isn't any need to get into the actual XML to use the Web Service, only to
use the Web Service technology to make method calls and get back data as a
result. The fact that the data is returned in an XML SOAP packet is not
important, any more than the fact that a web page is returned as an HTML
text document, unless you want to write your SOAP packets by hand.
--
HTH,
Kevin Spencer
Microsoft MVP
Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
"Mike P" <mi*******@gmail.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
I've just started to try to create my own n-tier project, and I am using
an xsd schema to represent all my tables, and then datatables and
queries to get at my data. The question I have is, where does XML and
web services fit in to this? Do any web services go in the data layer,
and can I treat my XML exactly the same as my data coming from a
database by creating an xsd and then data tables and queries to get at
the data?
*** Sent via Developersdex http://www.developersdex.com ***