Questions tagged [web-services]
A "web service" is a software system designed to support interoperable machine-to-machine interaction over the World Wide Web.
76
questions
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 ...
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 ...
4
votes
3
answers
22k
views
Windows authentication with SharePoint Web Services via SOAP
I am building an application on a different server, than that of the SharePoint 2010 foundation. But I want to be able to update some information / data in SharePoint Lists using Web Services.
I am ...
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 ...
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 ...
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 ...
3
votes
1
answer
12k
views
Call HTTP Web Service: Unauthorized
I have a workflow that I'd like to have call a web page inside of the web that it was run. I have turned on Site App Permissions at the site level, looked up the Workflow app id and granted it ...
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 ...
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 ...
3
votes
2
answers
3k
views
SharePoint search web service error (NTLM) when called from HttpHandler
Here is my scenario: I have a SharePoint site I am working on, and it is on one server farm. In this site, I have created an HttpHandler that uses a SharePoint search webservice that is located on a ...
3
votes
5
answers
8k
views
SharePoint 2010: Disable / Hide references to SPSDisco.aspx
I asked this question originally on StackOverflow. I was referred here, so I'll repost:
After upgrading some of our external websites running on SharePoint 2007 to 2010, we ran a link checker to find ...
3
votes
3
answers
7k
views
How to create a folder in Sharepoint using Java and RESTFul API?
This is my Sharepoint site http://sp2k13/sites/ifsp/ and I would like to create a folder using Sharepoint RESTFul API with Java.
I have already gone through Working with folders and files with REST ...
3
votes
0
answers
5k
views
Set value in web property bag using REST API
I am trying to manage web properties from property bag using REST API.
It is pretty straightforward how to get the values
var url = "https://site.sharepoint.com/_api/web/allProperties";
$.ajax({
...
2
votes
2
answers
22k
views
Create ASMX Webservice on Sharepoint 2013
How can I write an ASMX Webservice on SharePoint 2013, for example http://Sample/myWebService.asmx??
1
vote
2
answers
13k
views
List getListItems WebService to return sub folder contents
This List.getListItems(String, String, Query, ViewFields, String, QueryOptions, String)
webservice ( when called from Java) returns sub folders as single nodes.
Is there a way to recursively get all ...
1
vote
3
answers
21k
views
SPD 2013 Workflow fails when started with System Account Credentials
I have an SPD 2013 workflow attached to a list. The workflow is set to start when an item is added to the list. The workflow works just fine when a list item is added from the sharepoint website ...
0
votes
1
answer
6k
views
Create a new link to a document using SharePoint 2010
I need to add a new document link to a document library using the client object model. I suspect I could copy the format of the .aspx file used in the "link to a document" items and upload it as a ...
0
votes
0
answers
396
views
Access Token (Java) [duplicate]
How do you get Access Token using REST?
I'm trying to upload a folder in my Document Library using REST but it requires a Access Token in the header.
Here is the code:
public void createFolder(...
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. ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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, ...
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 ...
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 ...
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 ...
4
votes
3
answers
5k
views
CAML query for sharepoint list not working
I have a CAML query where I am getting records between a date range for a sharepoint 2010 list through an asmx web method call. It looks like this
<Query><Where><And><Geq><...
4
votes
1
answer
8k
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
1
answer
12k
views
How to call (_vti_bin) SOAP web service in SharePoint Online 2013 from dot net web application
I m trying to hit SP Online asmx web services and update a list item. I have the code below which I m trying to run.
/*Declare and initialize a variable for the Lists Web service.*/
...
4
votes
4
answers
5k
views
Overwrite SharePoint document using CopyIntoItems service of Copy.asmx
I am doing SharePoint implementation at iPhone/iPad side. I use SOAP/REST api calls for implementing this. One of my functionalities is to upload contents to SharePoint document libraries. I use ...
3
votes
2
answers
650
views
Parsing SharePoint's hyperlink format with JS
SharePoint 2010, at least, has an odd format for storing its lists' hyperlink fields on the backend, namely it uses
[URL], [Description]
"Well then what does it do about commas in the URL" you might ...
3
votes
3
answers
1k
views
Custom SharePoint 2010 WebService inside /_vti_bin and web.config
I just developed a custom WebService mainly for the purpose of integration with 3rd party application based on Oracle Database. My project looks like this.
This service has some procedures which ...
3
votes
2
answers
4k
views
There was no endpoint listening - AppEventReceiver
I'm developing provider-hosted SharePoint 2013 App with Windows Azure as a backend. I created an app event receiver to fire when app is installed. When i publish my Web App (.NET MVC4) to Azure, ...
3
votes
2
answers
11k
views
Filtering items in a view using a CAML query
I'm having trouble querying SharePoint in such a way, as to combine a view results with my own CAML query inside a WCF service. It seems GetItems ignores my query, and just returns all the items in ...
3
votes
2
answers
6k
views
how to make a connection for Php and Sharepoint
I am a newbie for Sharepoint(website developer).I want to connect some Php app to Sharepoint(installed in server) so that for every websites I create there is a connection to Sharepoint.How can I do ...
2
votes
1
answer
1k
views
RESTful Services Upload Boundaries SharePoint
What are the limitations/boundaries for the SharePoint RESTful services end points for document upload in SharePoint 2013?
i.e. how many files can be uploaded via the RESTful service end point per ...
2
votes
2
answers
4k
views
UpdateListItems throws "Cannot access a closed Stream."
I have been trying to find out the issue faced for some documents while uploading in libraries using list.asmx service in web application.
The steps i follow:
Uploads document using copy service.
...
2
votes
2
answers
4k
views
Get document id after uploading it to SharePoint using the same web service
Does any one knows how to get the document id after uploading it to sharepoint using a single web service? So by using one call i can upload the document and get it's id.
I looked at Copy.asmx web ...
2
votes
2
answers
4k
views
Create an item with REST API from workflow - SharePoint 2013
The main idea of this is to create an item from workflow in another list which is located on different site collection. So I thought is it possible to create an item in list with REST API through the ...
2
votes
3
answers
6k
views
SiteData service: some methods give Access Denied
We recently migrated some applications from SharePoint 2007 to SharePoint 2010.
The application uses the SiteData.asmx web service.
After the migration there are Access Denied errors, withtout any ...
2
votes
2
answers
9k
views
CAML query in getLIstItems method returns no rows of items
I am invoking Sharepoint's List Web services and using the getListItems() method. In particular, I am keen on specifying a CAML query because I really want it to just retrieve one item that I am ...
2
votes
3
answers
6k
views
Possible to get distinct values from GetListItems?
I am passing this XML:
<soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
...
2
votes
6
answers
9k
views
How to update multiple ListItems with a "Where Clause" using SPServices?
I've searched the jQuery SPServices code examples and MSDN references for an simple example how to update several ListItems using a Where-Clause.
Code for updating a single ListItem with ID = 500, ...
2
votes
3
answers
5k
views
How to set Boolean metadata using UpdateListItems?
I am trying to use the UpdateListItems Web Service API call to create a new (customised) folder and set meta data at the same time. Here is my batch element:
<Batch ListVersion="1" OnError="...
2
votes
3
answers
7k
views
jquery and javascript : can i get the last ID from document library?
Is there a way to get the last ID from a Document Library with javascript/jquery?
2
votes
3
answers
5k
views
Mounted Office 365 sharepoint workspaces lose connectivity - how to fix?
I'm trying to get my sharepoint workspaces on office 365 to mount like network drives. I can achieve this following microsoft guidelines, but after a while this fails. The user has to login again to ...