1

So here's my problem. I'm willing to use SharePoint web services to write in lists, or get items, or get documents and all that fun stuff with web services.

The problem is that I get some errors and unfortunately I don't get any responses on them and google doesn't have any too.

So my question is:

Do I have to activate anything to use web services? Like Basic authentication, or give certain permissions, or activate any other services.

Right now, from my application, i can log in into sharePoint. But that's all, I can't do anything more despite log in.

So I wonder if I have to do any more stuff on SharePoint side.

Thank you.

  • Can you share some more details about what you are trying to do that is causing errors? Maybe even post your code so we can see if there is an issue there. You said that aside from logging in, you cannot do anything more....that is kind of vague to me and likely to anyone else reading your question. – spguy Jul 26 '16 at 18:33
  • I've posted another question here with the error i got. No one is responding. The login is from the web services itself. Whe nyou connect to the web services it asks your credentials. Put them in then Soap error. Check my other question i posted here. – Tanaka J. Jul 26 '16 at 18:37
1

No, you should not have to activate any service or anything.

I saw one of your other questions from earlier, and it seems you were instructed to use copy.asmx and you yourself had found lists.asmx.

However, you have tagged this question with , and if that is the case, I would highly recommend not using lists.asmx etc. and instead use the REST API.

Here are some resources about the REST API:

REST API Reference and Samples

Working with lists and list items with REST

Get to know the SharePoint 2013 REST service

Complete basic operations using SharePoint 2013 REST endpoints

And there are many more out there if you just google "SharePoint 2013 REST".

In addition, to make things a little easier, I found this great JavaScript library that wraps the REST calls and lets you code in JavaScript in a much more similar style to what you would use for C#/server side code/Powershell:

Bravo Core

(In fact, sometimes to help with administration, I'll create a page on a site, link that script to the page, open the page in a browser, and then run commands from the browser dev tools console. It's like having Powershell in the browser console, no need to be on the server.)

  • Ok never used Rest time to start learning haha. So same question, do i need to activate anything on sharepoint side? And also, if central administrators would start being crazy, could they deactivate rest services? – Tanaka J. Jul 26 '16 at 18:48
  • As far as I understand, you should not need to activate anything to start using the REST services. Also, I don't know if Admins can shut it down... there might be a way, but that's something I've never heard of before. – Dylan Cristy Jul 26 '16 at 18:50
  • Ok cool, i will search a way to use Rest with delphi. That should be fun haha. Thank you for the answer helps me a lot :) – Tanaka J. Jul 26 '16 at 18:57

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.