Windows Communication Foundation is a runtime and a set of APIs in the .NET Framework for building connected, service-oriented applications.

learn more… | top users | synonyms

2
votes
1answer
218 views

What is difference between SharePoint REST and ODATA?

I have read that SharePoint REST and ODATA provide web services like WCF to fetch list/items, etc. So what is difference between REST and ODATA? Please provide a programmatic example to show the ...
2
votes
1answer
24k views

Could not find endpoint element with name '' and contract '' in the ServiceModel client configuration section

I have tried days to solve this damn error. I am calling the same service in asp.net and it works fine, but when I call it in a sharepoint solution it does not work. This is the error that I receive. ...
1
vote
1answer
177 views

Access Old Version File objects with CSOM

I created a WCF service that uses Client-side Object Model (CSOM) to query file information from a SP Document Library. I need to create a List<File> with all the files associated with all the ...
1
vote
1answer
447 views

SharePoint Foundation 2013: Posting Documents From External system To SharePoint Library

The scenario: there is an external system (PHP Back office) ) which will post documents with their metadata to SharePoint Site (library), when a user in the backoffice of that system will add a ...
1
vote
1answer
153 views

Remote web application accessing SharePoint with current user's credentials

Can we access SharePoint from a remote application with current user's credentials when user opens a remote page which has server-side CSOM user opens a remote page which has a server-side WCF ...
1
vote
1answer
51 views

Use WCF without adding its reference

I'm working with SharePoint 2010 and using a WCF service in my project. Due to some reasons some class names in my WCF were changed, that caused me to remove and add the service reference and ...
0
votes
1answer
71 views

consume wcf service

I created application page in empty sharepoint page. Then i added service reference to my wcf service hosted outside sharepoint farm. It added reference successfully. But when i initialise var mySer ...
4
votes
0answers
35 views

Statistics on Sharepoint, what is the best practice?

I need to know who visits a site collection and I was looking for a way to get information about the visitors such as: user, ip, etc. I thought to use Google Analytics, but there's no way to registry ...
3
votes
0answers
15 views

How do connect to soap/rest datasource using sharepoint designer 2013?

How do I connect to SOAP/REST data-source using SharePoint Designer 2013? (my web service is https://mysite/service/v2/soap.php?wsdl Using the External Content Type directly for a WCF service does not ...
2
votes
0answers
193 views

WCF endpoints in SharePoint web.config

I have a SharePoint site that makes calls to a public web API (Melissa Data) using a WCF client. I have the endpoints configured in the web.config like so: <system.serviceModel> ...
2
votes
0answers
141 views

Create a new SharePoint Site using WCF instead of Sites.asmx - CreateWeb

I am trying to ascertain whether there is a WCF equivalent of the CreateWeb method in the sites.asmx Web Service to be able to create a new SharePoint site. I was under the impression that the ...
1
vote
0answers
24 views

WCF Authorization via SharePoint Security Model

Would like to implement authentication and authorization operations on non-SharePoint hosted cross-domain WCF service via SharePoint 2010 Security Model, which is Windows Authentication. So, a member ...
1
vote
0answers
42 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 ...
1
vote
0answers
41 views

webservice does not return data from sharepoint list

I have a WCF REST SOAP web service. whenever I try to call the service using console application. I get this error message: An unhandled exception of type ...
1
vote
0answers
105 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
0answers
48 views

How to convert List Name and List Field Display Names to REST API?

I'm using SharePoint 2010 REST API and noticed the a unkonwn (at least to me and to my searches) translation function is applied over List Names which go in the URL and to Fields Names in the results. ...
1
vote
0answers
84 views

Compress file and stream back to client - Sharepoint 2010

To reduce file transfer time we are developing a basic WCF service which supports upload/download files from/to Sharepoint 2010 but by compressing the file before transfer. This service is using ...
1
vote
0answers
111 views

Error on accessing SharePoint 2010 Lists from a VB.NET app by Using WCF Data Services

I have a VB.NET application published to a server and basically I need to get all items from a SharePoint list and display them into a grid view. I'm trying to accomplish this by using WCF Data ...
1
vote
0answers
16 views

wcf.cs file generated by tool

I am porting a SharePoint project from one SP 2007 server to one SP 2010 server. Among the files that make up the project, I found a file called wcf.Project.cs. It's tens-of-thousands of lines long ...
1
vote
0answers
189 views

Could not find endpoint element with name 'WeatherSoap' and contract 'WeatherService.WeatherSoap' in the ServiceModel client configuration section

I have tried days to solve this damn error. I am calling the same service in asp.net and it works fine, but when I call it in a sharepoint solution it does not work. This is the error that I receive ...
1
vote
0answers
123 views

How to create a claims aware custom WCF service for SharePoint 2010?

I have a SharePoint 2010 instance that is Claims enabled (ADFS). I am creating a WCF service that I need to deploy to SharePoint's _vti_bin directory. How do I make this WCF service claims aware? ...
1
vote
0answers
166 views

WCF service throws an error after application pool recycling until loading any page

I've a WCF service that uses MultipleBaseAddressBasicHttpBindingServiceHostFactory to create service instances. I noticed a strange behavior - if I recycle the application pool (or it is recycled ...
1
vote
0answers
199 views

How to test endpoint conectivity on WCF Client?

I have a list that I get from a BDC external source System.ServiceModel.WSHttpBinding binding = new System.ServiceModel.WSHttpBinding(); System.ServiceModel.EndpointAddress endpoint = new ...
1
vote
0answers
544 views

Using 'Call HTTP Web Service' activity to call WCF service hosted on SP site with authentication

Hell guys, I have a WCF service deployed to SharePoint site exactly like in this tutorial - there is a .svc file deployed to ISAP folder (/_vti_bin virtual directory) and there is a class ...
1
vote
0answers
167 views

workflow consuming WCF Service in https - First Call takes too much time

I have a State machine Workflow that consumes a WCF Service in https (Basic Authentication, security mode transport). It works fine in our test environment, but it had problem in the integration ...
1
vote
0answers
279 views

Why WCF service does not work in sharepoint web part?

I have created a web service using WCF which gets the data from SQL into sharepoint. I have hosted it in IIS. It works fine when I call the service in the browser. I can see the wsdl. I used an ...
1
vote
0answers
85 views

Override a WCF Data Services CSDL

I'm dealing with an issue with a SharePoint 2010 Hosted WCF Data Services. So Keep in mind that i'm restricted to work with .NET 3.5. In order to generate the CSDL endpoint for descripting my ...
1
vote
0answers
201 views

Can't get Custom BCS Connector with filters to work

I am trying to create a BCS connector in Visual Studio that connects to a WCF service. I first used an parameterless GetAccounts method as the source for the ReadList method, and the wanted to add ...
1
vote
0answers
353 views

Load full list XML into JavaScript variable via CEWP

Currently I am using the lists.asmx webservice to POST a soap envelope and return specific list items. I really want the whole contents of the list. I realize how large that might get, but if this ...
0
votes
0answers
4 views

SharePoint 2013 WCF giving error, “Server Error in '/' Application. Configuration Error”

I am creating sharepoint hosted WCF. And I have created is as mentioned in the following blog, ...
0
votes
0answers
139 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] ...
0
votes
0answers
14 views

How to add security to sharepoint custom WCF service

I've made a custom wcf service under sharepoint 2013, but if i call the service directly (no auth no security=, it work... any suggestions to make the service secured? Thank you very much for any ...
0
votes
0answers
74 views

SharePoint 2013 Workflows - A binding instance has already been associated

I upgraded from .NET 4.5 to 4.5.2 via the Web Platform Installer. This utility offers no way to rollback or uninstall. I am getting the following error in SharePoint for a 2013 Workflow (also shown in ...
0
votes
0answers
94 views

How to use SP credentials to authenticate user for external WCF service by javascript

I have an application page in SP with javascript and by this javascript code I'd need to call external self hosted WCF service from different domain with some authentication.(The WCF service is able ...
0
votes
0answers
16 views

App for SharePoint connecting to external WCF service

I have coded a litle App for SharePoint, that must get some info from a WCF Service, hosted in a IIS. The WCF has a webHttpBinding, with no security, no REST, and a clasical test Customer is working ...
0
votes
0answers
57 views

One time authenticating a user for both JSOM and CSOM calls

I have a SharePoint hosted app that requests the user's login credentials and sends them to a WCF service that at some point creates a context in CSOM using these credentials to issue some requests ...
0
votes
0answers
41 views

Custom WCF Service in SharePoint That Queries SQL Server

I'm able to create a WCF service and deploy it SharePoint. When I try to add functionality to interact with a SQL Server database, the service stops working. For testing, I've tried creating an ...
0
votes
0answers
30 views

Data missing from services?

My employer is using SharePoint Foundation 2010. I am trying to build an alternate front end that displays a pivot table based on one of the lists. This list has a multi-value field. It has a default ...
0
votes
0answers
110 views

WCF Rest Service hosted in Sharepoint (ISAPI folder) doesn´t prompt for credentials

I have a custom WCF Rest Service hosted in Sharepoint (ISAPI folder) and the FBA is enabled in my WebApplication. The problem is that I´m being able to consume my WebServices without a previous login ...
0
votes
0answers
22 views

WCF based External List Columns Type in Sharepoint 2010

In my Sharepoint 2010 I've created External List that uses WCF service as data source. This is my data type that is exposed by the service: [DataContract] public class Item { [DataMember] ...
0
votes
0answers
22 views

Unable to set permissions for an external content type (Permissions list is empty)

I created a BDC model that is connected to a WSDL web service: <LobSystem Name="TestWSModel" Type="Wcf"> <Properties> <Property Name="WcfMexDiscoMode" ...
0
votes
0answers
33 views

How to create a personalized site collection (Sharepoint Online/Office 365)

Greetings fellow coders! I have been trying to create a personalized site collection in sharepoint online by office 365. I know that is possible to create this using a template, but what i'm trying ...
0
votes
0answers
9 views

BCS Delete Get user

I use BCS with WCF service. I would need to know the user name (or other user information to be able to identify the user and get his info from SP by CSOM then) of the user who has called the Delete ...
0
votes
0answers
783 views

WCF returning “The content type text/html; charset=utf-8 of the response message does not match”

The content type text/html; charset=UTF-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the ...
0
votes
0answers
366 views

Sharepoint Online External Content Types WCF Service

I have this issue I can't find solution for a couple of days now as I am working on creating External Content Types for Sharepoint Online 2013 (trial period will expire in the next 5 days :( ). I ...
0
votes
0answers
329 views

How to call IIS hosted WCF Service from SharePoint 2013 workflow?

I have a WCF service deployed in IIS Website. I am able to invoke the service from web browser using service url - http://localhost/Service.svc/get/hello It returns data in XML format as desired ...
0
votes
0answers
3k views

Could not find default endpoint element that references contract 'ServiceReference1.IService1' in the ServiceModel client configuration section

I created a WCF service application using SharePoint and in the same solution I have created a SharePoint project to call WCF service. When I deploy the solution it gives a warning. The 'contract' ...
0
votes
0answers
63 views

WCF service in SharePoint using HTTPS

I have a perfectly working wcf service deployed in ISAPI but it is only running in http. Can advise on what steps I need to perform to achieve that? I have already completed the steps for the ...
0
votes
0answers
255 views

Instantiating CKSDEV WCF service reference client object causes Default Endpoint Exception

I have tried to set up my first cksdev wcf service in sharepoint 2010 and am unable to instantiate my service reference client object in code. I have two separate sharepoint projects in my solution. ...
0
votes
0answers
918 views

listdata.svc does not respond in VS

I am trying to add list.svc to a project in VS 2010. Even though, the path http://server/site/_vti_bin/listdata.svc is accessible through internet browsers, when I attempt to add service to my ...