Tagged Questions
21
votes
4answers
34k views
Bypass invalid SSL certificate errors when calling web services in .Net
We are setting up a new SharePoint for which we don't have a valid SSL certificate yet. I would like to call the Lists web service on it to retrieve some meta data about the setup. However, when I try ...
16
votes
4answers
14k views
Firing a SharePoint Workflow by updating a list item through List Webservice
I am developing, a simple SharePoint Sequential Workflow which should be bound to a document library. When associating the little workflow to a document library, I checked these options
Allow this ...
10
votes
1answer
5k views
Connect and authenticate to SharePoint with WCF
I'm going nuts with this one and can't find any decent information ANYWHERE ..
There is lots of info around about connecting to SharePoint 3.0 Web Services with WCF and Ntlm impersonation. However, ...
8
votes
5answers
30k views
How do I solve this error, “error while trying to deserialize parameter”
I have a web service that is working fine in one environment but not in another.
The web service gets document meta data from SharePoint, it running on a server where I cant debug but with logging I ...
8
votes
7answers
13k views
ASMX webservice not returning JSON, can only POST using application/x-www-form-urlencoded contentType
I can call my webservice using jQuery IF the contentType = "application/x-www-form-urlencoded; charset=utf-8"
This will, however, return the xml: <string>[myjson]</string>
If I try to ...
7
votes
2answers
8k views
SharePoint List.getListItems WebService to return sub folder contents, recursively
I am calling the lists.asmx webservice from CXF.
The following soap call does not return files from list sub folders. It returns folder1,folder2 and file1.pdf
Shared Documents
folder1
...
7
votes
2answers
6k views
Sharepoint Web Services Tutorial
I'm trying to upload documents to SharePoint using web services attaching custom metadata to the files. I've searched but have not found a good tutorial covering all these topics. Can anybody point ...
6
votes
10answers
18k views
How do you copy a file into SharePoint using a WebService?
I am writting a winforms c# 2.0 application that needs to put an XML file into a document library on SharePoint.
I want to use a WebService instead of using the object model (no sharepoint.dll to ...
6
votes
7answers
8k views
DefaultCredentials in Accessing CRM / Sharepoint Web Services
I made an application that access CRM's web service. The problem is, when I deployed the dll into Sharepoint server, it returned error 401 unauthorized. Apparently the ...
6
votes
1answer
1k views
Form Based Authentication using Javascript for Sharepoint
I am trying to create a web page using javscript that uses form based authentication to login to the sharepoint server but it keeps using NTLM which is windows based authentication. Is there anyway to ...
6
votes
4answers
15k views
Authentication Error when accessing Sharepoint list via web service
I wrote a windows service a few months ago that would ping a Sharepoint list using _vti_bin/lists.asmx function GetListItemChanges. It was working fine until a few weeks ago when my company upgraded ...
5
votes
4answers
5k views
Get SharePoint List Visible Columns Names through Web Service using C#
I want to get all visible columns (Hidden == false) for specific list in sharePoint site, I tried to look through the SharePointWebService.Lists.GetList(listName), but couldn't find anything useful, ...
5
votes
4answers
3k views
Ruby/Rails and Sharepoint Web Services
I'm trying to consume Sharepoint webservices with ruby. I've basically given up trying to authenticate with NTLM and temporarily changed the Sharepoint server to use basic authentication. I've been ...
5
votes
1answer
973 views
Deleting a document via sharepoint web service using JQuery
I am trying to delete a document, using the sharepoint webservice, if someone uploads a document and then hits cancel. I have created the following function
function DeleteDocument(libraryName, ...
5
votes
1answer
1k views
Accessing Property Bag for List Item using SharePoint Client Object Model or Web Services
Just to ask if it is possible to access and update properties in the list item's property bag via the SharePoint 2010 client object model? I can see that it possible to get the web's property bag ...
5
votes
1answer
1k views
Sharepoint 2007 AddList and AddListFromFeature are missing template columns and data content
What I've Done
Inside SharePoint I created a List based on the Project Tasks template
I deleted most default columns, and added new custom columns
I added data using the new format
Then I did a ...
4
votes
4answers
3k views
Querying list items and using SharePoint web services vs the object model
My company is looking into writing a custom application that will need to perform many list item queries across multiple site collections. It will need to run for WSS 3.0 and it 'would be nice' if it ...
4
votes
5answers
6k views
Sharepoint Web Service GetListItems not returning all rows
I am using the GetListItems web service and it is only returning about 50% of the results stored. Is there a limit to how much data can be returned? Is there anyway round this?
4
votes
1answer
2k views
How do I call a Sharepoint Webservice from a c# client using Kerberos authentication?
We have developed a webservice that sits and runs in the context of a sharepoint site. This works fine using normal windows authentication.
We now have a client who wants to install this on a ...
4
votes
1answer
178 views
Update a Column in custom sharepoint list using web services
I am trying to Update a few columns of a custom sharepoint list using web services.
I am trying to achieve that using UpdateListItems() of Lists web service. I do get success code, i.e. ...
4
votes
1answer
2k views
Authenticating Office 365 SharePoint Online OOTB services
I want to consume SharePoint data into a non .Net platform. I already use the SharePoint OOTB services like Lists.asmx, Webs.asmx and search.asmx for this purpose.
I have successfully added support ...
4
votes
3answers
11k views
SharePoint SoapServerException calling GetListItems web service
I have the following statement in my code:
System.Xml.XmlNode items = lstWebs.GetListItems(
"Tasks", string.Empty, listQuery, listViewFields,
string.Empty, listQueryOptions, WorkspaceId);
...
4
votes
3answers
4k views
ColdFusion: How to use SharePoint's getListItems()
Does anybody know how I could get all items from a SharePoint-List?
It should be possible to call the function getListItems() with 4 parameters:
One for the list where the information is stored in,
...
4
votes
2answers
941 views
Dynamically create CAML query
I have a serach page which earlier was function on SQL DB but now we moved the back-en to SharePoint, I am trying to build a query based upon user select from drop-down box.
Existing SQL query was :
...
4
votes
5answers
4k views
Accessing SharePoint Web Services over Silverlight
I have a problem to access SharePoint Webservice over Silverlight.
An error occurred while trying to make a request to URI
'http://sample:8000/_vti_bin/Authentication.asmx'.
This could be due ...
4
votes
3answers
4k views
SPContext.Current is null in a web service under a sharepoint site
I'm exposing a web service in a SharePoint site e.g. http://server/_vti_bin/subdir/mywebservice.asmx.
In the web service method, SPContext.Current appears to be null.
(Interestingly, I'm looking at ...
4
votes
1answer
298 views
Using Sharepoint web-services with Coldfusion
I'm running CF8 and trying to use the web-services of Sharepoint WSS 3.0. I have not been able to authenticate due to the use of NTLM of the Sharepoint side.
I read that if you save the WSDL on the ...
4
votes
2answers
609 views
Difference between AddRole and AddRoleDef in SharePoint usergroup.asmx?
The SharePoint web service usergroup.asmx has two methods to add role definitions to a site collection:
AddRole
AddRoleDef
Both have the exact same description: "Adds a role definition to the ...
4
votes
1answer
82 views
Copy Web Service in SharePoint for Office 365
I am trying to upload files greater than 100 MB size to SharePoint Portal for Office 365. I have tried three different ways to achieve the same.
Copy Web Service, along with the httpRuntime Setting ...
4
votes
1answer
537 views
How to handle client authentication for secure web service in Delphi?
I have a SharePoint server running on my network and I am trying to build an app in Delphi which allows me to access the various SharePoint Web Services hosted there.
Running my app on the same ...