Why REST is good and SOAP is evil

On behalf of my employer Valtech, I’ve written a piece on why I dislike SOAP, and favor REST. I originally wrote it in english, but the published version is in swedish.

For some REST preaching in hum-humpty-dum-dee-dum’ish go to http://valtech.se/templates/JobSubPage.aspx?id=2582.

Update: As suggested by people more intelligent than myself, anchor tags really should have text inside them to be useful :).

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • DZone
  • Technorati
  • Reddit

6 Responses to “Why REST is good and SOAP is evil”

  1. Maik Says:

    Dude, the link text is empty.

  2. Jon Tirsen Says:

    I think you might want to put some text inside that anchor tag. It’s hard to click on it otherwise. :-)

  3. Anjan Bacchu Says:

    hi there,

    Add some text for the anchor tag otherwise, view source is the only way out.

    thanks,

    BR, ~A

  4. Anjan Bacchu Says:

    hi there,

    is there an english version at all ? :-)

    thank you,

    BR, ~A

  5. Randy J. Ray Says:

    It’s hard for me to say much, since I don’t read Swedish. But I am the author Programming Web Services With Perl, and I have yet to hear one REST evangelist give a good answer to this one question:

    How exactly do you express complex data structures? I mean, really complex, like .NET services? Like MapPoint.NET, for example?

    And if you cook up a REST-based scheme for a complex type, how do you express more than one in the same request? I did a project while at my last job that interfaced with MapPoint. Their structures are not huge, but they are complex and nested. And we frequently sent multiples of the same type in a request (start and end point, to obtain driving directions between the two– two instances of a type that was complex and multi-layered).

    There is a finite limit to the URI. There’s a limit to POST data as well, but it’s measured in a greater order of magnitude.

    There will always be a place for something like REST in simple services like Amazon, etc. But this constant “SOAP is eeeeevil because I can solve all my problems with REST” is really getting old. Sorry to be so harsh, but just because your tasks are simple-enough for REST, doesn’t mean everyone else’s are as well.

  6. Marcus Says:

    Randy - I am not familiar with MapPoint.NET. As I am just recovering from appendix removal surgery, please give me a few days to look into it before I answer.

Leave a Reply