Questions tagged [web-services]
A "web service" is a software system designed to support interoperable machine-to-machine interaction over the World Wide Web.
972
questions
0
votes
0
answers
47
views
Modify Group permission for a List
I tried the below code for fetching the Groups from 2007 SharePoint Site and adding it in 2013 site. Now I am also want to assign unique permission to the groups in the SharePoint List as it is in ...
0
votes
1
answer
679
views
Retrieving Groups for current user always returns zero results
I'm using the new REST api in 2013 to retrieve information about the current user. My issue is that I always get zero results for the Groups element. This is what I'm using:
/_api/Web/currentuser/?$...
1
vote
0
answers
56
views
unable to use getElementsByTagNameNS with a JavaScript SOAP 1.2 call to lists.asmx
For reasons I do not understand, even though the call is successful and I get data back, I cannot retrieve nodes using getElementsByTagNameNS on xhr.responseXML when using SOAP 1.2 calls.
Hopefully ...
1
vote
1
answer
162
views
get user information by account name or e-mail for users that are not in the site's user list using javascript in 2010
I have either a user's e-mail address or account name. I need to get their other information like name, department and title.
Everything I have read online only works if the user in question is in ...
3
votes
1
answer
378
views
Web.config files are not identical on all machines in the farm. SPWebService
This rule is talking about a difference in web.configs between 2 servers in my farm. The failing service is SPWebService, so it must be talking about the "SharePoint Web Services" web app in IIS ...
2
votes
0
answers
62
views
Use one ListData.svc reference to update multiple lists
Can you use one ListData.svc reference to update multiple lists even if the lists have different columns?
Site A - Shared Documents
Default columns
Model Year
Make
Site B - Shared Documents
...
2
votes
1
answer
313
views
Lookup column value not updated - ListsWebServices and Asp.NET
I am having trouble inserting new record in "Clients" list on our server, I am in learning phase for working with SharePoint Lists Web Services and I am trying to insert a new item in a list which ...
1
vote
0
answers
298
views
CAML query results multiple row for people picker field with multiple value in SharePoint webservices
Below is the SharePoint web service I am using to get list items from a SharePoint 2007 calendar list. The calendar list has a people picker field which can have more than one user. Now as I run the ...
2
votes
1
answer
446
views
Best practice for calling web service from Sharepoint List Item Event Receiver
What is the recommended way to introduce the invocation of an ASP.NET web service from a SharePoint list item event receiver (specifically, a MOSS 2007 document library)? I don't want to tightly ...
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 ...
0
votes
0
answers
258
views
Securing an on Premise non-SharePoint .NET WEBAPI method with o365 Authentication token
We have a custom (non-sharepoint) .NET MVC WebAPI service running on premise.
At a high level, possible somehow to secure methods on that web service using o365/SharePoint Online Authentication ...
4
votes
2
answers
5k
views
GetListItems queryoptions - How to filter?
I have following code but I need to make sure that CurrentStatus=true is part of the code so I dont get the entire list. Is it possible?
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope ...
1
vote
2
answers
179
views
Sending data to another site in workflow permission
What permission is required for a user who is running the workflow, to send data to another site collection through: call web service.
Does the user have to have permission on the other site ...
1
vote
0
answers
2k
views
Could not find default endpoint element that references contract
First of all: I know, there are a lot of threads like this and be sure I READ THEM! But I constantly run into this error.
An exception of type 'System.InvalidOperationException' occurred in System....
0
votes
1
answer
687
views
How to reference SharePoint list in external website?
I have an external website that is pretty much a form that interfaces with another enterprise software. One of the requirements of the fields in the form is to provide a location. We have the list of ...
1
vote
2
answers
2k
views
SharePoint :The security validation for this page is invalid
I called a web service in SharePoint designer with HTTP delete:
_api/web/lists/getbytitle('title1')/items(1)/roleassignments/getbyprincipalid('1')
The workflow returned "Forbidden" response status ...
3
votes
1
answer
7k
views
How to add new item to SharePoint list using web service
I want to add new item to SharePoint list using web service. I use SharePoint 2013. I found on the net follow code, but I don't understand how to use?
<Batch OnError="Continue">
<Method ID="...
1
vote
1
answer
394
views
web service Item permission in workflow designer
https://[sitesname]/sites/dev/_api/web/lists/getbytitle('listname')/items(4)/roleassignments/addroleassignment(principalid=17,roledefid=1073741826)
I called the above web service in the Sharepoint ...
0
votes
1
answer
31
views
Error when I search for some specific words in SharePoint 2010
I have a custom webpart on the search page which is getting data from an external web service.
I am getting the following error when I am searching for some specific words (e.g test) in sharePoint ...
1
vote
1
answer
86
views
Sharepoint workflow designer call web service
https://[siteurl]/sites/dev/_api/web/siteusers(@v)?@v=%27i%3A0%23.f%7Cmembership%7C[username]%40mydomain.onmicrosoft.com%27
I called this web serive to get the user id, but the workflow stopped.
...
0
votes
1
answer
702
views
Approve / reject list item using workflow
I have an approve reject workflow attached to one of the document library. Is there any way I can "approve" or "reject" the item using a built in websevice, just like we approve/reject through the ...
0
votes
1
answer
796
views
How to set parameters of a webservice call clientside in js?
I try to execute a SP OOTB webservice method clientside. This method has some parameters like "fileToSubmit, Name, DisplayName, Value, Type, Other, recordRouting, sourceUrl, username ". How can I add ...
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 ...
1
vote
1
answer
787
views
Sharepoint List Threshold even when returning less then 5000 records
I work for a company that creates software that interfaces with Sharepoint using Web Services. We have run into an issue at a few clients where we are hitting the threshold limit on document ...
1
vote
1
answer
3k
views
Get all user from SharePoint group using SharePoint Designer workflow 2013
I have a user group on my SharePoint Online site. The name of group is "Programmer".
Now I want to retrieve all the user from "Programmer" using SharePoint Designer workflow. How could I call ...
0
votes
1
answer
163
views
read,add and update sharepoint 2010 list from an asp.net application
I have a sharepoint site which is internal and I would like to build a website that is public to get some data from a list in this sharepoint 2010 instance.
The asp.net site would be hosted publicly.
...
3
votes
1
answer
3k
views
How to Change a View with REST API Web Service Call in Javascript
I have a site with 150+ libraries that are tied to a business process. Each has the default view configuration from the template I used. Now the business process is evolving and users want to see ...
1
vote
3
answers
2k
views
Equivalent for Authentication.asmx in SharePoint 2013
Everyone knows that SharePoint has a web service (ASMX), called Authentication.asmx, which is a good web service for doing authentication. It has a method called Login, which takes username and ...
1
vote
1
answer
564
views
AccessDenied from ValidateFormDigest when calling ModifyUserPropertyByAccountName in userprofileservice.asmx
I'm using the ModifyUserPropertyByAccountName method of userprofileservice.asmx in SharePoint 2013 to modify the user profile properties of another user. I can read properties using the ...
2
votes
1
answer
704
views
Get exception messages from a custom SharePoint REST service
I am experiencing some difficulties in managing errors raised from a custom REST web service deployed to SharePoint ISAPI folder I developed.
My service is pretty simple. I deployed an .svc file to ...
0
votes
1
answer
1k
views
Calling userprofileservice.asmx using Powershell
I need to update a property for a user in SharePoint User Profile Service but cannot to do this through the UI in Central Admin. So I want to perform the update using Powershell and the ...
0
votes
1
answer
42
views
Deploying 32 bit application in sharepoint 2010
I want to deploy a webservice in sharepoint which works only as 32 bit. It is working properly as normal webservice by setting "Enable 32-bit application" to true. Is it possible to deploy a ...
2
votes
1
answer
1k
views
SharePoint is currently configured to block intranet calls
This happens when trying to get data from a remote service, I've only been able to find a solution to this exception for Sharepoint-server(farm)
The solution for a sharepoint farm is the following ...
0
votes
1
answer
637
views
Forbidden 403 GET JSON data remote REST service - Sharepoint hosted app
I've been trying to follow this guide but I'm getting the following exception:
An exception occurred while processing the request - Forbidden 403, Access to example.com is denied. Sharepoint is ...
0
votes
1
answer
347
views
which permissions are needed to execute GetWebPartProperties2
GetWebPartProperties2 method of WebPartPagesWebService works when the user has admin rights. Can this method work without full admin rights?
1
vote
1
answer
1k
views
SharePoint Online 2013 Workflow calling external web service with bearer token
I am trying to call a Dynamics CRM Online web service from a SharePoint 2013 workflow in SharePoint online with a HttpSend activity. I am unable to get the call to authorize. The workflow does not ...
0
votes
0
answers
1k
views
Allow anonymous access for a single web service
I've created a simple custom WCF service in SharePoint.
ITicketingClientService.cs:
using System.ServiceModel;
namespace TicketingSystem.Core.ClientService
{
[ServiceContract]
...
1
vote
2
answers
166
views
Deploy a WCF service on a non sharepoint Environemnt
I have a WCF service that uses the DLL : Microsoft.Sharepoint
When I deployed it to the server that does not have SharePoint installed on it then I got the below error :
Could not load file or ...
0
votes
1
answer
594
views
Sharepoint Service access from android applciation
as new to share point 2013, I wod like to ask few things to et myself ready for development.
From my android application, what are the ways to to call services to add/update/delete items in list? ...
0
votes
0
answers
128
views
Error in getting Current User's SharePoint group
I am facing this issue while creating a data connection using web services.
My requirement was to get current user's SharePoint Group and i followed this link
Getting the Current User's SharePoint ...
0
votes
1
answer
66
views
Sharepoint 2010 - External Webservices and Workflows
I've been searching the internet for a little bit for an answer to this question with all my answers have been pointing to "No" and "you can do it in sharepoint 2013"
Is there a way to have a ...
2
votes
0
answers
5k
views
Microsoft SharePoint Foundation Web Application Service stuck on starting
Microsoft SharePoint Foundation Web Application Service stuck on starting
I tried this command and got the error below
Command:
stsadm -o provisionservice -action start -servicetype spwebservice
...
1
vote
1
answer
728
views
Calling SharePoint list.amx service throws error - The authentication header received from the server was 'NTLM'
Here is my scenario : I am trying to access SharePoint 2010 list items via list.asmx service. Following is my code and app.config which works on my developer box hosting the SharePoint site
var ...
1
vote
1
answer
682
views
GetListItems returns no items when filtering by lookup columns
I am using the SP Lists service, the GetListItems method as follows (guidView is set to the "All Items" view):
listasSoap.getListItems(
guidList,
guidView,
null,
viewFields,
"0",
null,
"...
0
votes
1
answer
74
views
Overview all sites with contribute permissions
I have a challenge. On our SharePoint environment, we want to have one page, with all sites where the current user has contribute permissions on. This way, he knows where he can collaborate.
I ...
0
votes
0
answers
181
views
SharePoint 2013 - Verify Active Directory security group membership in Master Page javascript
I desire to add some JavaScript that will verify the current users AD security group membership. If a member of group 'A' the logic will redirect one way. If not in group 'A', but in group 'B' the ...
0
votes
1
answer
1k
views
Call External Web Service Using REST
I want to access external web service using ajax call.
I access http://services.odata.org/Northwind/Northwind.svc/Customers web service in ajax call on site pages. but it is giving me error
...
0
votes
0
answers
520
views
return empty fields using lists.asmx and GetListItems
I have a list with 3 fields. I'm able to get the rows but in the returned XML if one of the fields is empty then the field is not in the XML. Is there anyway to get all fields I specify in ViewFields ...
0
votes
1
answer
2k
views
How to consume SharePoint 2013 web service without adding reference in Visual Studio
Is there any other way to consume a SharePoint 2013 web service other than adding its service reference in visual studio?
What if I want to do this at runtime? Is there an example available?
1
vote
0
answers
143
views
Clone list item using Lists Web Service & REST in SharePoint 2010
I know how to add/edit/delete items in a list using Lists Web Service (lists.asmx) and REST but I'm wondering if there is an easy way to clone? I know I can get the item, iterate through its data and ...