Cryptic message huh, but basically i got a tweet from @dfollette regarding using the Client Site Object Model (CSOM) in SharePoint to gain access to List Data and other LOB System and he also had a reference in a Web Cast to do the same thing using the REST API. Even as tired as i was at 1:16 am in the morning it would just eat at me in bed, so i decided to review it before I tuck in. However, when I tried to review the REST API by using a SharePoint Web Service I got an error…
The tweet was:
The Error was:
So after a little research I found this blog entry “REST and SharePoint 2010 Quick Start Guide: Table of Contents” on Scott Currier Blog; and it indicated that you need to install install the ADO.NET Data Services Update for .NET 3.5 SP1 Depending on what flavor OS you are running you may need one over the other, the one i need was here because I am running WIN 2 K8 R2 http://www.microsoft.com/downloads/details.aspx?familyid=79d7f6f8-d6e9-4b8c-8640-17f89452148e&displaylang=en
Once you install it you will be prompted to restart.
Trust but Verify
So after my reboot, let us now go to my SharePoint Site Collection and query the REST API again.
What i wanted to test was a little nugget I learned from the web cast…
You know come to think of it, I should have done a snapshot before running that update, but oh well, with finger crossed…
and it worked, lets drill down now
Looking at the XML you see the actual data..