Software Architecture-Sharepoint Server 2010-First try with RESTFULL service – ListData.svc

First try with Sharepoint RESTFULL service.

Sharepoint expose few RESTFUL services, one of them is ListData.svc service that returns a standard Atom service document that describes collections of information that are available in the SharePoint Server site.
Normally, URL for RESTFULL service is as:
http://SERVERNAME/SITECOLLECTIONADDRESS/_vti_bin/ListData.svc
Such as:
http://win2k8-ultimate/sites/Call/_vti_bin/ListData.svc

When I, for the first time tried to access service, I got following error as:

Could not load type 'System.Data.Services.Providers.IDataServiceUpdateProvider' from assembly 'System.Data.Services, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

While googling about it, I came to know that it is a well known error and Web is full of its references.
Solution is to install ADO.NET Data Services Update for .NET Framework 3.5 SP1 located at:
http://www.microsoft.com/downloads/en/details.aspx?familyid=79d7f6f8-d6e9-4b8c-8640-17f89452148e&displaylang=en
After install, restart of machine, I browsed the service successfully and output was as below:

That was my first encounter with Sharepoint RESTFULL Service……:)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: