Re:A Visual Guide to What's New in Swagger 3.0
by paulddraper on Tuesday March 21, 2017 @10:43PM
(#13928111)
The problem is that you abandon a bunch of existing architecture and middleware: an extremely rich caching API, content negotiation, proxy info, authentication.
I can trivially set an HTTP load balancer and log status codes. Can't say the same for SOAP.
Re:A Visual Guide to What's New in Swagger 3.0
by darrelmiller on Tuesday March 21, 2017 @04:43PM
(#13926051)
It makes it hard to take advantage of HTTP caches. There is also some redundancy because SOAP has headers and HTTP has headers. Which to use?
It also is handy to be able to make idempotent requests, especially over flakey networks.
Re:A Visual Guide to What's New in Swagger 3.0
by MichaelGG on Tuesday March 21, 2017 @04:56PM
(#13926132)
HTTP caching is a good benefit. But you can get it just by using GET and shoving the body in the querystring.
Headers: Use the SOAP ones, you're just tunneling SOAP messages.
Idempotentcy requires the app to implement it that way. HTTP doesn't really help there.
Now maybe it's easier on clients when you can just curl -XDELETE something but I'm not sure it's that big of a difference in the end. Especially if you have auto-gen'd client code.