W3C home > Mailing lists > Public > www-ws-arch@w3.org > February 2003

Applications are allowed to process SOAP header blocks (was: Messaging Service Layer)

From: Jean-Jacques Moreau <jean-jacques.moreau@crf.canon.fr>
Date: Mon, 17 Feb 2003 09:15:57 +0100
Message-ID: <3E509A3D.9060108@crf.canon.fr>
To: "Cutler Roger (RogerCutler)" <RogerCutler@ChevronTexaco.com>
CC: www-ws-arch@w3.org

I have to disagree. There is nothing in the SOAP specification 
that indicates that header blocks are to be processed only by the 
messaging layer and not by the application. The SOAP 
specification is mute on that aspect and is only concerned with 
what happens at a given (SOAP) node, independently of what layer 
performs the processing. Quoting section 2.6, Processing SOAP 
Messages:

<quote>
Process all mandatory SOAP header blocks targeted at the node 
and, in the case of an ultimate SOAP receiver, the SOAP body. A 
SOAP node MAY also choose to process non-mandatory SOAP header 
blocks targeted at it.
</quote>

Jean-Jacques.

[1] 
http://www.w3.org/2000/xp/Group/2/06/LC/soap12-part1.html#procsoapmsgs

Cutler, Roger (RogerCutler) wrote:
> The messaging layer is in charge of what
> is in the SOAP headers, whereas the application layer is responsible for 
> the body.  More specifically, the messaging layer might mess around with 
> the body by doing things like encrypting it, but after decryption the 
> messaging layer would hand the body to the application layer of the 
> receiver exactly as the body was given to it by the sender.  The 
> messaging layer has no business changing the data in the body -- as far 
> as it is concerned the body is just bits or characters.  And I think 
> that it also has no business trying to analyze the contents of the data 
> in the body.
> 
> If you agree with the preceding statements I think it may have 
> consequences down the line that are non-trivial.  The last statement may 
> be a bit strong, but that's the way it seems to me other layers work.
Received on Monday, 17 February 2003 03:16:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 July 2007 12:25:14 GMT