Phil Windley summarizes a point by Dion Hinchecliffe;

I spoke with Dion yesterday and he talked to me about governance mistakes he sees clients making. The number one problem is something he called the “tyranny of the `MUST understand’ flag.” You get a SOAP-based Web service loaded up with WS-* header elements all tagged ‘MUST understand’ and you end up with something every-bit as much a central command and control structure as if you’d just reintroduced the mainframe. No one can do anything unless they’re using the same toolset.

I think I understand the issue here, but I think there’s more to it than you might extract from that paragraph.

First off, mandatory extension mechanisms like mustUnderstand are a Good Thing, because it makes messages more self-descriptive; if a message is extended in such a way that older processors can’t accurately interpret the message, then you need it to save those processors from processing a message which they can’t process.

That said though, there needs to be recognition that there’s a fairly high cost of deployment of these kinds of extensions because each one that’s defined basically bifurcates the space of interoperable agents (you know, just like deploying a new service interface does … but that’s another issue 8-).

And that’s where I agree with Dion. If you find yourself using mustUnderstand in more than a handful of your interactions, chances are that you’ve messed up somewhere, likely by failing to account for sufficient extensibility in previous versions. In fact, I’d even extrapolate from that to suggest that if you’re using mustUnderstand in version 1.0 of your system, and that system is closed (i.e. behind a firewall, or otherwise not interacting with pre-existing software), you’ve definitely screwed up.

Speaking of which… Perhaps the worst offender in this regard is WS-Addressing, because it effectively mandates the use of at least one mandatory extension in every message; wsa:To. Well, technically it doesn’t require that it be tagged as mandatory, but I think it’s pretty obvious that if a recipient didn’t understand where the message was addressed, that all hell would break lose if it tried to process it. So, if you use WS-Addressing, then all of your messages are prima facie unprocessable by all existing SOAP software. Oopsie!


no comment until now

Add your comment now

Warning: Undefined variable $user_ID in /homepages/16/d135909399/htdocs/ on line 100