|
I think Eric Newcomer has the best take on all this. http://www.iona.com/blogs/newcomer/ "Maybe it's just a case of using the simple format to do simple things and a complex format to do complex things?"
No sane person should even think about wrestling with WS-* if XML over HTTP suffices for their needs. On the other hand, a lot of thought and actual experiences is reflected in WS-*, and it has evolved to be relatively composable (i.e., not too many interdependencies). It makes a lot more sense to me to look closely at using WS-* stuff rather than trying to roll your own *if* and only if you have the pain for which it claims to be the cure, i.e. you
a) are working with multiple protocols or multi-hop networks
b) can't feasibly make the whole thing stateless, idempotent, etc. on the server side so RESTful tricks work
c) you have a lot of complexity that won't just go away -- reliability is critical, you have multi-part transactions or multi-step business processeses on the back end that have to be exposed to the service requester, security is critical and HTTP security doesn't cut it, etc.
|