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
6 answers
59k 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 ...
Martin Hatch's user avatar
  • 1,303
20 votes
5 answers
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 ...
Madhur Ahuja's user avatar
16 votes
3 answers
15k 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. ...
Geir Smestad's user avatar
  • 1,680
16 votes
4 answers
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 ...
Kasper Bo Larsen's user avatar
16 votes
2 answers
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....
Fergal's user avatar
  • 415
15 votes
8 answers
22k 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 ...
Garrison's user avatar
  • 171
14 votes
6 answers
27k 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 ...
ATAI's user avatar
  • 345
14 votes
4 answers
36k 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 ...
benst's user avatar
  • 253
12 votes
2 answers
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 "...
Stef Heyenrath's user avatar
10 votes
2 answers
21k 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 ...
DannyRatna's user avatar
10 votes
3 answers
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'>"); ...
callisto's user avatar
  • 105
10 votes
1 answer
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 ...
Mike's user avatar
  • 12.2k
10 votes
3 answers
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 ...
Trek's user avatar
  • 101
9 votes
2 answers
24k 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 ...
Tobiasz's user avatar
  • 173
9 votes
1 answer
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; ...
paul's user avatar
  • 1,013
8 votes
4 answers
28k 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 ...
Mary Rivers's user avatar
8 votes
2 answers
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 ...
slayernoah's user avatar
8 votes
1 answer
24k 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 ...
Mihir's user avatar
  • 1,546
8 votes
3 answers
7k 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 ...
andrew.petersen15's user avatar
8 votes
1 answer
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 ...
Arne Hoogensen's user avatar
7 votes
1 answer
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 ...
C. Hoffmann's user avatar
7 votes
1 answer
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 ...
Jonas Engdahl's user avatar
7 votes
2 answers
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 ...
Niranjan Kulkarni's user avatar
7 votes
2 answers
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 ...
Luxspes's user avatar
  • 193
7 votes
3 answers
951 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 ...
Jim Davis's user avatar
  • 261
7 votes
4 answers
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 ...
Sam Huggill's user avatar
6 votes
2 answers
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 ...
Markus's user avatar
  • 349
6 votes
2 answers
228 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 ...
Shiraz Bhaiji's user avatar
6 votes
1 answer
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", "...
Mohit's user avatar
  • 810
6 votes
3 answers
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....
Sergei Sergeev's user avatar
6 votes
1 answer
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 ...
Kirk Liemohn's user avatar
  • 1,423
6 votes
1 answer
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 ...
viraj sarode's user avatar
6 votes
1 answer
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 ...
Anton Khritonenkov's user avatar
6 votes
3 answers
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, ...
nitefrog's user avatar
  • 250
6 votes
2 answers
900 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 ...
Anita Boerboom's user avatar
5 votes
2 answers
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 (...
andrew.petersen15's user avatar
5 votes
5 answers
75k 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 ...
Melvin's user avatar
  • 215
5 votes
2 answers
10k views

How to register a new http module n the web config

I built a http module. I copied into the GAC . Then, I put into the WebConfig file lke this : <httpModules> .... <add name="MyAssembly" type="MyAssembly.Global"/> <httpModules/&...
hello B's user avatar
  • 681
5 votes
1 answer
12k 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 ...
Greg Sansom's user avatar
5 votes
1 answer
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 ...
empz's user avatar
  • 761
5 votes
1 answer
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 ...
Toni Frankola's user avatar
5 votes
4 answers
2k views

How to restore a previous document version via client-side API?

Is there a way to restore a previous version of a document, using client-side code? I've been looking at the REST API, Lists Web Service, and SPServices JS library, but couldn't find any methods for ...
sigil's user avatar
  • 413
5 votes
2 answers
10k views

Use REST odata webservice to update a project in Project server

I am using a workflow to create a project in project server 2013. This seems like a fairly common operation, but I need to set a few pieces of information when I create the project that are not ...
ghangas's user avatar
  • 1,264
5 votes
1 answer
6k views

Difference between _layouts and _vti_bin in service SVC deployment

I'm fighting with Services deployment under the SharePoint infrastructure. It happens that I spent a lot of time trying to configure a REST SharePoint 2010 web service under the ISAPI (_vti_bin) ...
Ziba Leah's user avatar
  • 1,987
5 votes
1 answer
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 ...
Shashank Srivastava's user avatar
5 votes
6 answers
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....
empz's user avatar
  • 761
5 votes
2 answers
907 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'> ...
Abe Miessler's user avatar
  • 6,745
5 votes
1 answer
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 ...
Javier Méndez's user avatar
5 votes
4 answers
3k views

403 Forbidden on Web Service

I am trying to consume a SharePoint Web Service GetListItems. The below is the XML request from SoapUI: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="...
Brian's user avatar
  • 253
5 votes
1 answer
945 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 ...
Armaggedon's user avatar

1
2 3 4 5
20