I want to pull items out of a sharepoint list. STANDARD. Oh wait, let's use OWSSVR.dll because it provides XML over HTTP.
Shit, how do I deserialize this? Let's look at the schema and see if we can generate proxy classes. Nope. Hmm ... okay, someone told me this is a serialize data set, let's read it in. Nope. Data Table? Nope.
Okay, okay, what is it. Let me try reading the xml. Let's use XPath to read the schema. The schema provides mapping between names that make sense to us, versus their internal names! Can't read the schema, as a matter of fact the namespace of the schema will ensure that. Hmm, okay, so I can't XPath this bitch. What can I do?
Oh, I found the schema this is, this is a serialization of a ADODB recordset. You motherfuckers. Alright, give me some sort of .NET implementation to read this. After all, this is SharePoint 2007. None.
As a matter of fact, every retard on the Internet is accessing this list through the internal name. OWS_TITLE. Good God! You're kidding me. Nope. We're all retarded, fuck mappings, who is going to read this besides other people like us.
Hey! Did you know there are ALREADY provided web services. How about we use that instead of this OWSSVR.DLL? Okay, I'll research it.
Oh wait, it's GetListItems, and it returns an XmlNode. Why not. OMG, it's full of whitespace, why are there just whitespace nodes. If I was using a XmlReader, I could turn it off. Why can I not turn it off??
Alright, fuck it, ignoring the whitespace let's just see my output. THE SAME AS THE OWSSVR?? If you're going to serialize it, at least ... have some fucking common decency for the people who need to deserialize it?
I am now going to write retarded code. Fuck you.
Fuck you SharePoint.