1

I need to develop a C# Web Service running on the SharePoint 2010 server which acts as an intermediate service between a Java system and this Sharepoint system.

Which technology would this Web Service use to connect to the SharePoint data?

  • Client Object Model
  • Internal Sharepoint Model (like used in web-parts)
2

I would go for option 2: Internal Sharepoint Model (Server Object Model).

1) Since your service will be hosted on the server, using the SOM will provide you with a lot of functionality which is not available int he Client Object Model.

2) The Client Object Model internally calls a Web Service (Client.svc) which in turn calls a stripped down version of the Server Object Model. So using the Client Object Model will have some performance overhead compared to directly using the Server Object Model.

3) There is always an issue of cross domain access with the Client Object Model. You will not be able to access the data of one site collection from another.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.