Questions tagged [web-services]

A "web service" is a software system designed to support interoperable machine-to-machine interaction over the World Wide Web.

Filter by
Sorted by
Tagged with
25
votes
6answers
54k views

How can I authenticate SharePoint REST calls from JavaScript?

I have been banging my head against a wall on this problem for weeks now Warning and Disclaimer .. I have very little JavaScript experience when it comes to REST / Web Services I have an on premises ...
20
votes
5answers
8k views

WebServices or Client object model?

I am writing a Silverlight control which will display the data from SharePoint list for use in SharePoint 2010 site. I am considering wheather to use Client Object Model or SharePoint web services to ...
16
votes
4answers
42k views

Listing all checked out files

As a site administrator I have to list all checked out files in the site collection. Looking at the DB is looks like the tp_CheckoutUserId field in AllUserData might be a key to this query. Is it ...
16
votes
3answers
14k views

How do I connect with SharePoint Online Web Services in order to access list and taxonomy data?

I am using the SharePoint SOAP web services to try collecting list and taxonomy data from a site on SharePoint Online. The following code works nicely when connected to a standalone SharePoint farm. ...
16
votes
2answers
2k views

REST and CSOM much slower than List Web Service

lists.asmx = Web Service listdata.svc = REST API client.svc = CSOM Using JavaScript to query a list using the 3 available APIs, I'm finding lists.asmx responds much faster than listdata.svc or client....
15
votes
8answers
21k views

Why don't Lists and Libraries show up in SharePoint Designer?

I have a SharePoint 2010 site that works correctly, and a subsite that does not. When I open the subsite in SharePoint Designer, the "Lists and Libraries" view says "There are no items to show in ...
14
votes
6answers
22k views

Creating Nested Folders via Client Object Model

I'm trying to create nested folders in my document library so it looks like this: http://site/PublicDocuments/Folder1/Folder2/Folder3/ The document library "Public Documents" exists but none of the ...
14
votes
4answers
35k views

How to submit data from repeatable table in infopath form to a sharepoint list?

I have a infopath form created from a sharepoint list content type. In this form I need to add a repeatable table to send data to another sharepoint list. So when people submit this form the original ...
12
votes
2answers
5k views

Best practice for developing a WebService in SharePoint?

I've followed the following steps to build a WebService in SharePoint: Created a new project using WSPBuilder. Added a 'WebService' (Add a new web service to the layouts folder) Do a WSBBuilder "...
10
votes
2answers
19k views

Unable to STOP microsoft sharepoint foundation web application service

I have a multi server farm and I want to stop "Microsoft SharePoint Foundation Web Application Service" in all the other servers except Web Front End server. When i tried stopping this service it ...
10
votes
3answers
4k views

How to do sharepoint people search via webservice?

I need to access search for people in SharePoint 2010 from a webservice. I have tried this querypacket: sb.Append("<QueryPacket xmlns='urn:Microsoft.Search.Query'>"); ...
10
votes
1answer
5k views

Passing a Kerberos Ticket to a web service

I'm trying to pass a Kerberos ticket onto a webservice through a custom webpart. The webservice is a WCF service, but it is a 3rd party web service that is not claims-aware. The web service doesn't ...
10
votes
3answers
5k views

Java to Sharepoint interface, with claims based authentication

I have a sharepoint server with a claims-based authentication (ADFS server). I have a Java app that needs to push data to a sharepoint list, preferably over the REST API, and with the additional ...
9
votes
2answers
22k views

WCF Service Endpoint not found (but service operations work OK)

Here is my problem: Does anybody know how to configure a WCF service hosted in Sharepoint to show standard WCF welcome page (the one with description and a link to wsdl)? I want to underline that I ...
9
votes
1answer
7k views

How to use SharePoint web services? (esp. authentication)

I am trying to access list information on MOSS 2007 using web services. SppLists.ListsSoapClient proxy = new SurveyMerge.SppLists.ListsSoapClient(); proxy.ClientCredentials.Windows.AllowNtlm = true; ...
8
votes
1answer
22k views

How to authenticate user in SharePoint online using javascript

I have a public site on Office 365 SharePoint Online. By default when user clicks on to sign in, it redirect to Microsoft login page. I don't want to redirect user to Microsoft login page. But ...
8
votes
3answers
6k views

Updating a Property w/ 2013 REST Api

I have a SharePoint Hosted App that is successfully able to add Read and Create files on the Host site (using the REST API and SP.RequestExecutor). Now I am trying to figure out how to update ...
8
votes
1answer
3k views

List View Lookup Threshold Exception not thrown when submitted without Query element

SharePoint 2010 includes a list view lookup threshold as part of its resource throttling. Columns that count as a lookup include Lookup, taxonomy (managed metadata), and User (PersonOrGroup) The ...
7
votes
1answer
11k views

Creating Custom Web Service on Sharepoint 2010

I'm new to web services and i've been trying to create a custom one using this tutorial: http://msdn.microsoft.com/en-us/library/ms464040.aspx I've named my service as Files and created a new method ...
7
votes
4answers
27k views

How to fix credential issue?

I tried both default credential and user/pass but keep getting 401 unauthorized error. What's the fix? Here is the error I am getting .... New-WebServiceProxy : The request failed with HTTP status ...
7
votes
1answer
9k views

Get meta data from a previous version of a document through webservice in MOSS 2007

Is it possible to get metadata information from a previous version of a document in a document library using a SharePoint webservice? I know I can use the _vti_bin/Versions.asmx webservice to get ...
7
votes
2answers
2k views

Script to automatically import documents from a network share on a regular schedule

I am new to SharePoint development. I am trying automate the task of: Uploading documents from a network share to a SharePoint document library. The related metadata for each of the files also need ...
7
votes
2answers
3k views

Can we access the sharepoint 2013 list from another web application using CSOM

I have to access the sharepoint 2013 list from the site under another web application in the same farm. Is it possible I tried it but, it is not happening. Both the web applications lie in the same ...
7
votes
2answers
4k views

Phone-Gap Claims Authentication against SharePoint in Office365 fails, probably because of HTTPOnly flag in cookie

I am coding an application using Phone Gap to connect to a Sharepoint in Office365. I need to use the REST services in Sharepoint Office 365 to add items to a list, but before that I need to ...
7
votes
3answers
906 views

Working around the “Lookup column threshhold”

To level-set, I'm working in a large enterprise with no Farm Admin access or access to SP Designer. I have out-of-the-box capabilities only as owner of a team site. I'm building a roster/schedule ...
7
votes
4answers
4k views

Call SharePoint WCF web service protected by claims based authentication

I'm using SharePoint 2010 as a document store for a front-end .NET application. The SharePoint farm is using Claims Based Authentication. I want to call a WCF web service on the farm with a ...
6
votes
2answers
1k views

Can I Use SharePoint's Web Services to Edit a Content Editor Web Part?

Is it possible for me to change both the properties & the HTML of a content editor web part on a publishing page using SharePoint 2010's web services? If so, would you mind pointing me in the ...
6
votes
2answers
217 views

Choosing between API and web services

We are designing a system where we will have a service facade, behind this facade will be functionality to update SharePoint. For example to move an item from one list to another. What we are ...
6
votes
1answer
10k views

List does not exist error while using GetListItems

I am trying get Data of a list using GetListItems Method of Lists.asmx Here is my code: XmlDocument objXMLDocument = null; NetworkCredential credentials = new NetworkCredential("user", "pass", "...
6
votes
3answers
3k views

SharePoint 2010 Query service authentication problem

I am struggling with calling search.asmx service from asp.net page. I've created proxy class using svcutil.exe and run request using following code: var binding = new BasicHttpBinding(); binding....
6
votes
1answer
4k views

How do I avoid redirection for web service authentication in SharePoint 2010 when both claims and classic auth is allowed?

I have a SharePoint 2010 web application that allows both claims authentication and classic authentication. The Default claims provider for the web application has "Enable Windows Authentication" and ...
6
votes
1answer
1k views

sharepoint 2010 getting session timed out error for

We have an application which depends on “Excel calculation Services” in SharePoint. This application presents the data from excel to web based format like html. It also gives a text box to insert ...
6
votes
1answer
3k views

How can I pass authentication for asmx service in SharePoint 2013 (Online)?

I found that CSOM API don't allow modifying user profiles properties in SharePoint 2013, but this function is still in asmx user profile service. I know that SharePoint online uses oAuth for ...
6
votes
3answers
2k views

SharePoint Web service requests take 30-60 secs initially

When trying to access SharePoint WSS 3.0 server using the web services API, the software service we are developing will hang anywhere between 30-60 seconds when making any call (pick anyone of them, ...
6
votes
2answers
896 views

Search webservice ignores time part on Write?

On my blog I got a question from Kanja Saha about the time part being ignored in a sql syntax query: http://www.itidea.nl/index.php/example-of-using-the-spservices-search-web-service/ I tested this on ...
5
votes
2answers
2k views

Sandbox Webpart Web Requests: System.Security.SecurityException

I need a custom web part that aggregates list data across web applications. I would like to keep it sandboxed if at all possible. I first tried to use the out of the box SharePoint web services (...
5
votes
1answer
11k views

How to programmatically retrieve item version history from client?

Using server-side code I can access List Item version history using SPListItem.Versions. Is there a way to programmatically access the same information from the client? I am happy to use either the ...
5
votes
1answer
3k views

Problem when migrating SP2010 solution with WCF service to SP2013

I have a VS2010 solution that has a few projects inside. One of them is a Sharepoint 2010 project that contains a WCF service generated from the CKS template. I needed to migrate this solution to ...
5
votes
1answer
3k views

Is it possible to create a Document Set via Web Services

Is it possible to create a SharePoint document set via Web Services only. I have been looking into List.UpdateListItem method and Copy but could not find a way to do it. Is this even possible with Web ...
5
votes
1answer
6k views

How to get Version history of all fields updated for a list item?

I am developing a ticketing system on SharePoint 2013 onprem. I am storing Ticket data in a list with versioning enabled. On my user end (which is not a SharePoint solution, I can access only CSOM and ...
5
votes
6answers
16k views

How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#?

I've this WCF web service hosted inside a Sharepoint 2010 web application. This service is created using the following factory: Factory="Microsoft.SharePoint.Client.Services....
5
votes
2answers
853 views

How to specify file name using web services?

I have the following code which creates an item in the library I want: string newPageXml = String.Format(@"<Batch OnError='Continue'> <Method ID='1' Cmd='New'> ...
5
votes
1answer
2k views

How to call GetChanges() method from SiteData.asmx web service (SharePoint 2010)?

I'm trying to run GetChanges method (sitedata.asmx) from a Java application. However I can't figure out the correct parameters I must pass. This is for SharePoint 2010. By checking on the service ...
5
votes
1answer
930 views

Call a POST web method through a Workflow 2013

I'm trying to call an external web method via POST request during the execution of one of my workflows. I set up the dictionary for the headers (I specify Host, Content-Lenght, Content-Type and ...
5
votes
2answers
13k views

Add New List Item with SPServices anonymously

I have an HTML5 + jQuery application with a built in contact form that I wanted to hook into Sharepoint, and Lists seemed an ideal way to do that. I used the jQuery library SPServices to get this up ...
5
votes
2answers
4k views

How can I have a web part that calls a web services that is on a different domain?

I want to create a web part that calls a .asmx from another domain. I know I can't do this client side only due to cross site scripting restrictions that browsers enforce, so it must be server side. ...
5
votes
1answer
123 views

How can i enable Group calender?

I found that the "EnablePeopleSelector" property changes the calender into a group calender. I am unable to set the value for tat property using csom or webservices.. My webservices snippet is as ...
5
votes
2answers
5k views

SharePoint 2010 - Strange errors starting this morning

A few hours ago, one of the site owners sent me an email saying that they "couldn't click on anything". Upon more inspection, it turns out that they do not have access to the ribbon bar, cannot click ...
5
votes
3answers
3k views

SharePoint Web Serivces Access Denied; Only From VS 2010

After not getting much help on the last question, I decided to blow away the VM and re-create it as I already lost a week on this issue. And of course still issues, btu a little different. I am ...
4
votes
4answers
378 views

SharePoint webservice vs. custom webservice

I'm wondering what experienced SharePoint developer would advise me to use if I want to access SharePoint data remote, the SharePoint built in webservices or a custom webservice. What are the pros ...

1
2 3 4 5
20