Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. SharePoint
  4. SharePoint 2013 web service

SharePoint 2013 web service

Scheduled Pinned Locked Moved SharePoint
csharpsharepointwcfjsonvisual-studio
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dcof
    wrote on last edited by
    #1

    I am in a company that recently implemented office 365 so that we can use sharepoint 2013 in the cloud. Based upon my research, both Sharepoint Designer 2013 and visual studio .net 2012 can be setup to call a web service. Thus I have the following questions: 1.When planning to setup this type of a web service, I am looking at it from an architectural point of view right now. Would you setup several different web services depending upon the types of calls that are being made? If not, would you setup one web service and that could be called and the web service would be 'smart enough' to know where to obtain the various values from? Can you tell me what your answer is and explain why you chose that option? 2. I believe the web service for Sharepoint 2013 uses the rest api and WCF service. Thus can you show me code and/or point me to links (urls) that shows how to setup and consume this type of web service?

    I 1 Reply Last reply
    0
    • D dcof

      I am in a company that recently implemented office 365 so that we can use sharepoint 2013 in the cloud. Based upon my research, both Sharepoint Designer 2013 and visual studio .net 2012 can be setup to call a web service. Thus I have the following questions: 1.When planning to setup this type of a web service, I am looking at it from an architectural point of view right now. Would you setup several different web services depending upon the types of calls that are being made? If not, would you setup one web service and that could be called and the web service would be 'smart enough' to know where to obtain the various values from? Can you tell me what your answer is and explain why you chose that option? 2. I believe the web service for Sharepoint 2013 uses the rest api and WCF service. Thus can you show me code and/or point me to links (urls) that shows how to setup and consume this type of web service?

      I Offline
      I Offline
      Ingo
      wrote on last edited by
      #2

      dcof wrote:

      Would you setup several different web services depending upon the types of calls that are being made?

      Yes, because Webservices should have a well design input / output interface. A Webservice is like a method/function. It should give back a well defined value / object.

      dcof wrote:

      If not, would you setup one web service and that could be called and the web service would be 'smart enough' to know where to obtain the various values from?

      In no case! That's a bad way in abusing webservices.

      dcof wrote:

      believe the web service for Sharepoint 2013 uses the rest api and WCF service. Thus can you show me code and/or point me to links (urls) that shows how to setup and consume this type of web service?

      I could. But just use google "C# call Webservice" and "SharePoint Webservices" you should find enought good examples.

      SharePoint Consultant and Developer at acocon Author of Primary ROleplaying SysTem I'm the ninth in a row of seven!

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups