News for hackers. Stuff that matters.
Re:REST is the new SOAP by ivan_gammel on Saturday December 16, 2017 @05:52AM (#15938939)
Crafting REST request with JSON payload is significantly easier than doing that with SOAP (or, rest it in peace, CORBA).
Re:REST is the new SOAP by ern on Saturday December 16, 2017 @06:11AM (#15938985)
I don't mind a loose JSON REST-ish API, where everything is a GET, POST or (maybe) a PUT, with explicit endpoints to resolve ambiguities.

Once people start exhibiting excruciating pedantry in designing their APIs, I'll switch off somewhat.

Re:REST is the new SOAP by deeringc on Saturday December 16, 2017 @07:23AM (#15939239)
The author was comparing REST to json-rpc. Nowhere in the article does he propose that people use SOA or CORBA.
Re:REST is the new SOAP by ivan_gammel on Sunday December 17, 2017 @03:39AM (#15944845)
There's no difference between debugging REST and JSON-RPC over HTTP, so there's no point to compare them. The other alternatives, that I've mentioned, are less easy to debug.
Re:REST is the new SOAP by mamon on Sunday December 17, 2017 @11:29AM (#15946351)
Have you ever seen SoapUI tool[1] ?

It takes just a few clicks to generate complete set of requests from WSDL (set, as in "one request per each operation"). I think it's much better user experience than hand-crafting json to use with curl.

[1] https://www.soapui.org/

Re:REST is the new SOAP by 0x445442 on Saturday December 16, 2017 @10:31AM (#15939925)
That is highly dependent on the language you are using.

Many languages support auto generation of consumer and producer code based off of WSDLs.

And AFAIK, most languages that don't have the auto gen tools do have XPATH libraries for easily manipulating templated SOAP requests.

Re:REST is the new SOAP by ivan_gammel on Sunday December 17, 2017 @03:36AM (#15944835)
It's still much faster to run curl with JSON, than to run auto-gen tool and write a whole test program to call an API.