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

learn more… | top users | synonyms (1)

15
votes
5answers
16k 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 ...
14
votes
3answers
8k 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. ...
13
votes
5answers
5k 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 ...
13
votes
2answers
1k 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 ...
11
votes
2answers
4k 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 ...
11
votes
4answers
29k 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 ...
9
votes
4answers
21k 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 ...
9
votes
7answers
8k 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 ...
9
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'>"); ...
9
votes
3answers
3k 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 ...
8
votes
5answers
9k 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 ...
8
votes
1answer
1k 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 ...
8
votes
1answer
2k 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
2answers
3k 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
288 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 ...
6
votes
1answer
9k 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 ...
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
1answer
6k 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; ...
6
votes
4answers
13k 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 ...
6
votes
2answers
210 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
2answers
583 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 ...
6
votes
1answer
2k 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
666 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
2k 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
1k 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
846 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 ...
6
votes
4answers
3k 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 ...
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
2answers
10k 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 ...
5
votes
1answer
5k 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", ...
5
votes
1answer
8k 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 ...
5
votes
6answers
10k 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: ...
5
votes
2answers
607 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
3answers
2k views

Updating a Property w/ 2013 REST Api

I have a sharepoint hosted app that is succesfully 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 ...
5
votes
1answer
98 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
4k 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
2k 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
331 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 ...
4
votes
5answers
34k views

how to upload file to sharepoint doc library via c# application?

I need to upload files with specific information(custom fields) into sharepoint document library via custom windows application. I have no idea how to do it, anyone has any examples how to do it ...
4
votes
1answer
2k 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 ...
4
votes
1answer
2k views

Anonymous access = huge web services security hole?

My company uses SharePoint for their public website by allowing anonymous access. Some of our lists and document libraries have permissions to only allow certain users to be able to access them. I'm ...
4
votes
1answer
6k 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 ...
4
votes
3answers
2k 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(); ...
4
votes
3answers
2k views

using jquery and search.asmx service search People in sharepoint 2010

Hi i use below code for Getting people Search. Using below code I am able to search but getting only user name and User my site url. I want all user profile Property.How I get all user Property using ...
4
votes
1answer
3k views

How to get ALL list items regardless of view using Lists webservice

I have a list with only one view exposed on it (default view). That list has a filter with a field Assigned To = [Me] so all users logged in can only see their own list items. This list items get ...
4
votes
1answer
37 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 ...
4
votes
3answers
585 views

List version limits client-side

Versioning can be defined the same way in UI in SP2013 and O365: How can we programmatically set these limits in SP2013 without server-side code? Server-side we would have SPList.MajorVersionLimit ...
4
votes
1answer
3k 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 ...
4
votes
1answer
4k views

How to get list item from a different site collection using javascript?

I have two site collection like site1 and site2. I am working in site1 application and I want to get a list item from site2. This is the code I am using: var ctx; var listItem; var title; var ...
4
votes
2answers
342 views

Using the Web Services to determine if a user has a document checked out

(Note I need a solution for this that works on 2007 and 2010) We have a desktop application that we are adding Sharepoint Check in and out functionality to using the Web Services. One issue we are ...