I love listening to young developers guess at the history of XML, and why it was "complex" (it wasn't), and then turn around an reinvent that wheel, with every bit of complexity that they just said they didn't like... because it's necessary. So a bit of history from someone who was already developing for over a decade when XML was the new hotness: The before times were bad. Really bad. Everybody and everything had th…
> I'm a developer used to simply clicking a button in Visual Studio to have it instantly bulk-generate entire API client libraries from a WSDL XML API schema, documentation and all. So when I hear REST people talk about how much simpler JSON is, I have no idea what they're talking about.
One issue with that was a lot of developers never had any understanding of what was actually happening when they used wsdl.exe or the Visual Studio GUI to do that. Funny story: a partner we work with now gave us a SOAP API to consume that just about had to have been developed by one of these idiots. Most of the payload was XML content that fit different schemas depending on the transaction type. They didn't know how to model this properly so they just had a content node whose contents were a string that contained escaped XML; exactly what would happen if you were told to make content dynamic and didn't know anything about XML but only how to use the serialized objects in C#: you have an object with a content property that is a string, and you just put arbitrary XML into that string.
So you'd get these API responses that were clearly formatted SOAP envelope and then Bespoke Envelope and then unreadable gibberish littered with > < etc.