News for hackers. Stuff that matters.
Re:Stop SOAP by nirvdrum on Wednesday January 18, 2012 @11:16AM (#3480393)
I think I'd like JSON as a data representation a lot more if schemas for it were more prevalent. I've noticed it's a lot harder to generate valid JSON -- or rather a lot harder to escape data. With XML, this is fairly trivial. Granted, my use case is considerably different from most.

The other idea from SOAP I'd love to see applied to ReST is a descriptor document for the API. Given how poorly many ReST APIs are documented, I do miss the good 'ol WSDL. Plus, it gave me some measure of security that the API didn't change.

Re:Stop SOAP by seanalltogether on Wednesday January 18, 2012 @12:58PM (#3480913)
The strictness in generating valid json is exactly why i like it so much. I've worked with too many SOAP services with nodes and attributes thrown lazily around the document simply because xml is so unstructured. I do agree however that json could use a few more built-in data types to handle more complex use cases.
Re:Stop SOAP by sciurus on Wednesday January 18, 2012 @12:09PM (#3480680)
Does WADL provide what you liked about WSDL?

http://www.w3.org/Submission/wadl/

Re:Stop SOAP by nirvdrum on Wednesday January 18, 2012 @12:58PM (#3480915)
I haven't heard of this before. But I'll be checking it out. Thanks for the info.