W3C home > Mailing lists > Public > www-ws-desc@w3.org > July 2002

Re: Issue 51: Should soap:header@part be nmtokens? (was RE: ACTION: All wg members to review editorial issues by July 11)

From: Jean-Jacques Moreau <moreau@crf.canon.fr>
Date: Tue, 09 Jul 2002 11:28:06 +0200
Message-ID: <3D2AACA6.3942373B@crf.canon.fr>
To: "Liu Kevin" <kevin.liu@sap.com>
CC: "'Jonathan Marsh'" <jmarsh@microsoft.com>, www-ws-desc@w3.org

I think the onus is on SOAP. SOAP 1.2 clearly differentiates between SOAP header blocks and the SOAP body.

A SOAP header block is typically additional data that helps the ultimate SOAP receiver process the SOAP body, or data targeted to a SOAP intermediary along the SOAP message path. Syntactically, a SOAP header is contained within the SOAP Header element.

The SOAP body carries the main intent of the SOAP message. It is (implicitely) targeted to the ultimate SOAP receiver. It has an application defined structure, not one defined by SOAP.

Also, there are differences in the way SOAP header blocks and the SOAP body are processed. In particular, the SOAP body is not processed unless all mandatory SOAP header blocks are recognized and understood by the SOAP processor.

So, overall, I think we just have to recognize they are enough syntactic and semantical differences, that we have to keep them separate in WSDL 1.2 as well. (And, BTW, I think it would be wrong to dissociate from the direction set by the XMLP WG, unless one really think they got it wrong, in which case we should raise it as a
Last Call issue for SOAP 1.2.)

I hope this helps,

Jean-Jacques.

[1] http://www.w3.org/TR/2002/WD-soap12-part1-20020626/#procsoapmsgs

"Liu, Kevin" wrote:

> WSDL1.1 has different constructs for body and header, but doesn't provide any justification about the differences: [...]
> Given the fact that soap:body is just a particular kind of soap:header, it's not clear why wsdl should treat them so differently, in particular: [...]
Received on Tuesday, 9 July 2002 05:28:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:21 GMT