SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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)
share|improve this question
up vote 2 down vote accepted

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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