Can XML Be The Same After W3C XML Schema?

by Richard Monson-Haefel

Related link: http://www.xml.com/pub/a/2002/06/19/vdv-wxs.html



While this article by Eric van der Vlist doesn't explicitly discuss SOAP, it indirectly addresses an important problem with SOAP today: SOAP RPC Encoding is misaligned with XML Schema. SOAP Encoding provides an object-graph view of data, which allows for references but doesn't provide strict typing for complex types. XML Schema, on the other hand, provides a tree view which doesn't support references but does provide strict typing for both simple and complex types. Depending on the data model used (Encoding vs. XML Schema) our view of the data changes. This is an issue I'm grappling with while writing my next book on J2EE Web Services. Anyway, I recommend that you read the article, which doesn't discuss the SOAP issue just mentioned but does discuss how schemas influence our perceptions of data.