XML can so easily be abused…
Oct 22, 2003
3 min.
I am getting really tired of seeing web services (or RSS feeds, or .NET methods, or anything else) with large blocks of complex, structured data that is exposed as “String”.
You call the web service, you get back this big string, which you then load into an XMLDocument and off you go (or XPath Navigator, etc…) … but if they had just defined the real structure in the first place, I wouldn’t have to do anything… I’d have a nice “weather” structure or “employee” object inside an “employees” collection… now, I can certainly massage/convert/deserialize their XML (well, I know it is XML, their wsdl says “String”) into a nice object collection, but why should I have to!