<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Give and take</title>
	<atom:link href="http://stage.vambenepe.com/archives/98/feed" rel="self" type="application/rss+xml" />
	<link>http://stage.vambenepe.com/archives/98</link>
	<description>IT management in a changing IT world</description>
	<lastBuildDate>Tue, 09 Mar 2010 22:10:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: vbp</title>
		<link>http://stage.vambenepe.com/archives/98#comment-47</link>
		<dc:creator>vbp</dc:creator>
		<pubDate>Fri, 05 Jan 2007 09:56:24 +0000</pubDate>
		<guid isPermaLink="false">http://stage.vambenepe.com/archives/98#comment-47</guid>
		<description>Sorry about the comment filter Pete. I get your point, you meant this structure:
[envelope]
  [header]
  ...
  [/header]
  [body]
  ...
  [/body]
[/envelope]
And yes, this is of course XML so it can be passed around through HTTP GET, PUT, etc. But when you do it this way, you&#039;re not encrypting the whole message since the verb is outside the envelope. Depending on the semantics of your application, it could very well be a serious information leak for someone to see that you&#039;re doing a bunch of DELETE or PUT operations. Same problem with regards to signature. If you sent me such a message and sign it, I can prove that you sent me the payload but I can&#039;t prove whether it was part of a PUT, a GET or a HEAD. If this is meaningful (and it should be, right?) then I need this information to be signed as well. Otherwise it&#039;s like having a contract where the dollar value is signed, but the part that says whether it&#039;s a gift or a loan is not. Which is why in these message-level security scenarios you need the verb/action information inside the part of the message that you sign.</description>
		<content:encoded><![CDATA[<p>Sorry about the comment filter Pete. I get your point, you meant this structure:<br />
[envelope]<br />
  [header]<br />
  &#8230;<br />
  [/header]<br />
  [body]<br />
  &#8230;<br />
  [/body]<br />
[/envelope]<br />
And yes, this is of course XML so it can be passed around through HTTP GET, PUT, etc. But when you do it this way, you&#8217;re not encrypting the whole message since the verb is outside the envelope. Depending on the semantics of your application, it could very well be a serious information leak for someone to see that you&#8217;re doing a bunch of DELETE or PUT operations. Same problem with regards to signature. If you sent me such a message and sign it, I can prove that you sent me the payload but I can&#8217;t prove whether it was part of a PUT, a GET or a HEAD. If this is meaningful (and it should be, right?) then I need this information to be signed as well. Otherwise it&#8217;s like having a contract where the dollar value is signed, but the part that says whether it&#8217;s a gift or a loan is not. Which is why in these message-level security scenarios you need the verb/action information inside the part of the message that you sign.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete Lacey</title>
		<link>http://stage.vambenepe.com/archives/98#comment-45</link>
		<dc:creator>Pete Lacey</dc:creator>
		<pubDate>Fri, 05 Jan 2007 01:12:52 +0000</pubDate>
		<guid isPermaLink="false">http://stage.vambenepe.com/archives/98#comment-45</guid>
		<description>Damn, you&#039;re comment filter removed my XML.  Just imagine those elipses being surrounded by Header and Body elements and those being surrounded by an Envelope element.</description>
		<content:encoded><![CDATA[<p>Damn, you&#8217;re comment filter removed my XML.  Just imagine those elipses being surrounded by Header and Body elements and those being surrounded by an Envelope element.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete Lacey</title>
		<link>http://stage.vambenepe.com/archives/98#comment-44</link>
		<dc:creator>Pete Lacey</dc:creator>
		<pubDate>Fri, 05 Jan 2007 01:10:58 +0000</pubDate>
		<guid isPermaLink="false">http://stage.vambenepe.com/archives/98#comment-44</guid>
		<description>&quot;Once I use WS-Security and the SOAP envelope, I can’t use pure HTTP anymore.&quot;

Not true.  The SOAP envelope is just that, an envelope.  Not unlike the HTML envelope.  It can be used with plain old HTTP just fine.  I can GET a representation that looks like this (namespaces elided for brevity):


  
    ...
  
  
    ...
  

And PUT and POST that equally well.  It&#039;s just XML after all.  If the elipses in the Header were replaced with WS-Security related elements, that would present no issues either.  Again, it&#039;s just XML.

Where SOAP goes off the rails is in ignoring HTTP and trying to be protocol/transport agnostic, then, when using HTTP, tunneling _everything_ through POST.  But the part of the spec that defines an evelope, that&#039;s fine.</description>
		<content:encoded><![CDATA[<p>&#8220;Once I use WS-Security and the SOAP envelope, I can’t use pure HTTP anymore.&#8221;</p>
<p>Not true.  The SOAP envelope is just that, an envelope.  Not unlike the HTML envelope.  It can be used with plain old HTTP just fine.  I can GET a representation that looks like this (namespaces elided for brevity):</p>
<p>    &#8230;</p>
<p>    &#8230;</p>
<p>And PUT and POST that equally well.  It&#8217;s just XML after all.  If the elipses in the Header were replaced with WS-Security related elements, that would present no issues either.  Again, it&#8217;s just XML.</p>
<p>Where SOAP goes off the rails is in ignoring HTTP and trying to be protocol/transport agnostic, then, when using HTTP, tunneling _everything_ through POST.  But the part of the spec that defines an evelope, that&#8217;s fine.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
