W3C home > Mailing lists > Public > xml-dist-app@w3.org > May 2003

The SOAP Primer (Part 0)

From: Don Box <dbox@microsoft.com>
Date: Thu, 8 May 2003 00:02:09 -0700
Message-ID: <57EF69AF56D92148984EDA317408294504E34270@RED-MSG-10.redmond.corp.microsoft.com>
To: <xml-dist-app@w3.org>

I sent comments maybe six months ago complaining that the primer was propagating the artificial "document vs. RPC" terminology that WSDL imposed on the world. 
I was extremely happy to read the new primer that went out with the specs. The characterization of how things works seemed way more reasonable (where reasonable is defined as my way of thinking :-)).
In reading section 2.2 (and 2.2.1), the prose is so close to perfect, but there's something about it that I wonder about.
The section uses the term "XML document" to refer to the body content of an envelope.
The term "XML document" has some pretty deep implications - think document entity, DTD, etc. Just look at the first sentence of the XML 1.0 spec:
"Extensible Markup Language, abbreviated XML, describes a class of data objects called XML documents and partially describes the behavior of computer programs which process them. "
If someone wanted to include an actual XML document inside a SOAP envelope, the most natural way to do it is to use some PASWA-style technique to put the opaque document entity inside the envelope, either by value or by reference.
Perhaps the primer could use the term "XML-based content" instead of XML document?
Received on Thursday, 8 May 2003 03:02:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 22:01:23 UTC