The Difference Between XSD & WSDL
XSD, which stands for XML Schema Definition, is the standard for defining the format of any given XML--Extensible Markup Language--file. Another acronym, WSDL, stands for Web Services Description Language. WSDL is part of the Simple Object Access Protocol, or SOAP, standard for Web services and uses Hypertext Transfer Protocol, or HTTP.
-
Understanding XSD
-
XSD is considered by many to be the most accepted standard in its field, replacing previous standards such as External Data Representation, or XDR. An XML schema describes the link between the various elements of an XML object, which could be an entire document or just part of a document.
Defining WSDL
-
WSDL defines the structure and format required to exchange Web service messages. Because it is an XML standard and its role is to define data types within the document, it uses the same XSD schema standard.
-
Advantages
-
As a result, both offer several advantages over previous XML schema languages including DTD, for Document Type Definition; and SOX, for Simple Object XML. XSD is written in XML, so it requires no intermediary processing. And it has automatic schema creation and self-documentation capabilities.
-
References
Resources
- Photo Credit notebook computer detail image by davidcrehner from Fotolia.com