WS-SubversiveAddressing

William Vambenepe published his XMLFrag header proposal earlier this week and it immediately caught my eye. This was in part because of the idea of a ‘WS-SubversiveAddressing’ specification (WS-Addressing has been a lot of my day job at IBM for coming up on 2 years), and in part because apparently that title came from a colleague and I’ve been trying to work out who it was.

I’ve been back and forth on the proposal and I think there’s something with potential in there. After some thought it began to make some sense when I started to think of the XMLFrag header as a ContentType header for WS-Transfer (the W3C TAG apparently had a problem with WS-Transfer because it lacks feature compared to HTTP, but I digress). It lets the client describe to the server the representation it would like returned. That, for WS-Transfer at least, makes sense to me. Whether it’s a good idea for any other SOAP Web Service is less clear, but on the balance I suspect it might be useful.

Where I agree less it with the usefulness of embedding the header in an EPR. The use of it as an equivalent of ContentType means that it’s describing an attribute of the client, not the endpoint, which means it’s really not information which should be in the EPR. On top of that, it’s not entirely clear to me how whoever creates the EPR knows what subset of information the client wants. In general, if you’re a client using an EPR as a [destination] you got it from somewhere else, and how would that elsewhere know what you, as a client wants? Finally, an EPR represents and endpoint which probably has multiple operation associated with it, and the XMLFrag probably doesn’t make sense for more that one of those operations so makes an EPR of limited use.

So I don’t think the EPR related part is of much use, and has some conceptual problems, however I am a realist. The WS-Addressing spec allows anyone to use ReferenceParameters to generate SOAP Headers and people will use that flexibility to put anything in there, advisable or not. This flexibility was a source of much disagreement in the WS-A Working Group before I joined, and I think we still need time to tell if it was the right call.

So, the XMLFrag header looks to me to be potentially useful, and the EPR related bits not so much.

Subversive? Not to me.

Advertisement

0 Responses to “WS-SubversiveAddressing”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s




About

I’m David Illsley, I’m a Software Engineer, currently working for Morgan Stanley in London. In the past I worked for IBM developing products in the WebSphere family, and before that I studied at Edinburgh University. I'm also a PMC member @TheASF, and outside the realms of technology, enjoy skulking around the dark corners of theatre...

Archives

c

Disclaimer

The postings on this site solely reflect the personal views of the author and do not necessarily represent the views, positions, strategies or opinions of my employer.

Twitter Updates

  • *aaah* Another long weekend. I could get used to this. #fb 3 days ago
  • @ajdaniel what is now crap? Have you played with the new built in dev tools? 6 days ago
  • Frustrating not to make it to either fosdem or monkigras this week... It's like 3 buses at once or something 6 days ago
  • Wow, Danish crematoria are are pretty, uh, matter of fact… #borgen 1 week ago
  • @sd_nicholas it's a hedge against changes as it predates the final spec. Unprefixed version I think is due soon. 2 weeks ago

Follow

Get every new post delivered to your Inbox.