Steve promptly follows up. In response to my comments about self-description, he writes;

Reading over Marks comments, I’m having a hard time determining if this is a technical criticism or more of a complaint about the division of responsibility between the standards.

I was just pointing out that the envelope he described would not, in fact, be self-descriptive. There are many possible implications of this depending upon your POV, but yes, in (my view of) Steve’s view of the stack, SOAP should have a dependency on WS-Addressing, and should have defined the equivalent of wsa:Action. In my view of the stack, it should not have, and in fact there should be no WS-Addressing because application protocols already provide their own addressing mechanism.

And a slight historical correction; “TCP” circa 1974 was in fact the functional equivalent of TCP/IP, with the two layers munged into one. “The Split” into separate specs and layers occurred in 1978.

I absolutely would consider being independent of WS-Transfer a good thing, if my applications hard dependency on the protocol was making it really hard to accommodate the new requirements I wanted to satisfy.

How?!?!?! WS-Transfer provides the application semantics that an app is hardcoded to use, just as a stock quote app would be hard coded to use getStockQuote. You can’t just swap in WS-Notification, IMAP, POP3, or any other application protocol and expect the app to work the same, because they provide different application semantics!!

You can’t escape it; protocol dependence is a necessity, since protocols are the basis of all interoperability. Show me a working Web service, and I’ll show you where it’s protocol dependent.

This is the fundamental misunderstanding of Web services, and IMO what’s preventing a majority of Web services proponents from realizing that the Web is what they’ve been looking for all along.

I think that’s where we are with HTTP right now – it works in the simple case, but there’s all this other stuff we want to be able to do (security, transactions, duplex communication, end-to-end reliability, etc). Mapping all that stuff into HTTP is turning out to be counterproductive and quite hard. However, those problems are tractable if we assume an infoset-centric view of the world. When the status quo doesn’t work any more and something better is available, it’s time to change the status quo.

The status quo works just fine. I hear folks make the claim to the contrary all the time, but have yet to see an example of a Web service that couldn’t be done in an all ’round superior manner using HTTP and URIs. I’m not claiming that an example can’t be found, only that there just aren’t that many, at least once you’ve chosen to use coarse grained, document based messaging.

… to my latest. He writes;

Given that in Mark’s world a SOAP envelope is not a SOAP message, then I’m assuming that a SOAP message must logically be {SOAP envelope + other stuff}. Considering Mark’s position with respect to REST, I’m assuming that the magical “other stuff” is a resource URI and an HTTP protocol verb. I don’t want to put words in Mark’s mouth, but that’s my interpretation of his view of the world.

Pretty close, yes, but the “other stuff” is more than just the HTTP envelope of URI/method/headers, it’s also the stuff contributed by TCP/IP, Ethernet, or whatever else frames the SOAP envelope.

If my assumptions about Mark’s view are correct, I have a hard time seeing why it’s so important that this “other stuff” be externalized from the envelope. I don’t see why including the destination URI and protocol verb as headers is such an offensive concept. This is, after all, exactly what WS-Addressing does – it puts all the information necessary to process an envelope inside of the envelope itself, so the envelope is totally decoupled from its delivery mechanism. What am I missing here – why is having the envelope stand on its own such a terrible thing? It’s still a “document wrapper” at that point – one that happens to be fully self-describing, in fact.

Actually, it’s not in fact, self-descriptive, which is a large part of my complaint and concern.

If you worked your way up the stack, outside-in through the message, each frame tells you how to process the next; the ethernet frame includes a field which says that it contains an IP packet, the IP packet contains a field which says it’s a TCP packet, the TCP packet contains a port number which says it’s an HTTP message, and the HTTP message contains a header which says it’s a SOAP message. Along the way, of course, the semantics of the message are determined, including the application semantics provided by HTTP; the operation, message endpoints (the request URI), and the various headers. But there is nothing in the Ethernet, IP, TCP, HTTP, or even SOAP specs which says to expect that there are actually new operations, and new endpoint references which override those of HTTP, within the SOAP envelope itself.

Some more good comments and questions …

I’m curious as to what’s most important to Mark – constraining the number of verbs or using HTTP as a universal protocol. Hypothetically, what if WS-Addressing was written such that the wsa:Action URI was constrained to 4 verbs, each of which had a direct 1:1 correspondence with an HTTP protocol verb? That’s sort of the thought experiment I see in the WS-Transfer protocol. That’s a compromise that offers REST-style universal semantics while still keeping all the information required to process an envelope inside of the envelope itself. Along with that comes the ability to use any mechanism of moving bits from point A to point B and removes the strict reliance on HTTP.

What’s most important, IMO, is the constrained interface. So yah, I’d be all for stuffing more things into the SOAP envelope if wsa:Action were constrained to uniform interface semantics. But such an envelope, for all the same reasons of self-description above, would only be suitable to be used on top of transport protocols (like TCP), not application protocols.

What you describe in that last sentence is “protocol independence”, and I consider it the root of all WS-Evil (so to speak). HTTP isn’t a bit moving protocol, TCP is. HTTP provides the application semantics, just like WS-Transfer does. Would you consider it a selling point that your WS-Transfer-using app was made independent of WS-Transfer? I didn’t think so. That’s how absurd I see the requirement that apps which use HTTP should do so independent of HTTP.

I think he’s incorrect about his first statement – to be technically correct, you’d have to say that WS-Transfer reinvents HTTP on top of SOAP on top of any number of network protocols, one of which happens to coincidentally be HTTP

Yes, true. I just like saying “HTTP over SOAP over HTTP”. 8-)