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

1
vote
1answer
1k views

Changing the MaxRecievedMessageSize for a custom WCF service

I have following WCF service hosted in SharePoint: [ServiceContract] public interface IPrintService { [OperationContract] [WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ...
0
votes
1answer
16 views

Differences between SharePoint WCF Service Host Factories

There is three type of WCF service host factories in SharePoint 2010/2013: MultipleBaseAddressBasicHttpBindingServiceHostFactory Basic HTTP binding must be used, which creates endpoints for a ...
0
votes
1answer
14 views

Adding a WCF service on Sharepoint 365

Does SharePoint 365 (SharePoint Online) support package (wsp) with custom WCF webservice ? Because I've a wsp package created for on-premise SharePoint, and I need to make it work for SharePoint 365. ...
0
votes
1answer
398 views

Calling a WCF web service from a SharePoint 2013 Visual Studio Workflow

I have a scenario where I need to access a WCF web service (locally hosted) from a SharePoint 2013 Visual Studio workflow. Below given is what I have done so far: This is what the workflow does: ...
2
votes
1answer
17k 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. ...
2
votes
1answer
605 views

Problems adding WCF Data Services to SharePoint 2010

I would like to add a custom OData endpoint to SharePoint 2010. Because of its dependency on .NET 4.0, the Web API OData provider is currently not an option for SharePoint 2010 (based on .NET 3.5). ...
1
vote
1answer
24 views

SharePoint site accessed via AAM url causes 401 Unauthorized error

I have a internet mapping for a SharePoint site that works fine. However, the same site's WCF REST service causes a '401 Unauthorized' error when accessed via a coded functionality. The same code ...
0
votes
0answers
85 views

create a BCS External Content Type based on a WCF web Service using Visual Studio.

How to create a BCS External Content Type or list Based on a WCF Web Service using Visual Studio. The link provided shows the requirement through Designer. ...
1
vote
2answers
15 views

SharePoint 2010 Claims authentication and custom WCF Service

Can someone help me to give idea on implementing custom WCF service in SharePoint 2010 configured to claims based authentication? I have implemented WCF service and deployed to ISAPI folder. When I ...
0
votes
2answers
16 views

SPContext current is always null

We are using Sharepoint learning kit to deliver eLearning course to our employees. Sharepoint learning kit (SLK) .wsp is deployed to a site collection. I have created a seperate .net WCF upload ...
0
votes
0answers
24 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
7 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
11 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" ...
1
vote
1answer
82 views

System.Threading.ThreadAbortException

we have an SP web part calling WCF service using simple http binding. They are located on different servers in different countries, so not the same machine. Using WCF we send/receive some files, which ...
0
votes
2answers
5k views

WCF Service - The request channel timed out- Increasing timeout has no effect

Consuming a WCF service that downloads a large amount of data from a Sharepoint2010 List. I wrote a test client (using inbuilt automated tests in VS 2010). When I invoke the service method, I get ...
1
vote
0answers
33 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> ...
1
vote
1answer
42 views

Security Exception when calling WCF Service from Sharepoint 2013 Visual webpart

Want to call WCF service from Sharepoint 2013 Visual Web Part; when using this Service from Console it works perfectly. I receive following Security Exception when using svc from webpart: Request ...
0
votes
1answer
14 views

Convert data XML Node into DataTable

I have SharePoint list data and I got that data from My SharePoint List in XML Node format as follows XmlNode nodeListItems = listService.GetListItems(listName, "", ndQuery, null, rowLimit, null, ...
0
votes
0answers
16 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
8 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 ...
1
vote
1answer
352 views

Call WCF hosted in SharePoint from JQuery

I created a WCF Service hosted in JQuery, when I navigate to the web service in browser and pass a parameter to it, I get back the data correctly, for example like this: ...
1
vote
2answers
1k views

Get SPWeb from SPContext in WCF hosted on SharePoint

I have created and deployed a WCF service in SharePoint and I am sending requests using JQuery. Every thing is working fine except for sub sites. Lets say I have these two service URLs: - ...
0
votes
0answers
39 views

BCS OData navigation properties are not shown in SharePoint Hosted App external list

I have created a WCF Data Service that is hosted on Azure. I use this service as the data source for my SharePoint Hosted App's external lists. I noticed I was missing all navigation properties from ...
2
votes
4answers
468 views

SharePoint 2013 Using SPSite in Custom WCF Content Enrichment Webservice

I have to write a content enrichment webservice which retrieves data from an specific SharePoint Site (SPSite). But my code doesn't run, if i make a new SPSite Object. Also no logging information in ...
0
votes
0answers
141 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
2answers
87 views

“Read more” sort of thing for partial load of items?

We have a asp.net listview displaying news item on a page and it has paging functionality to load the next set of news which works fine. A requirement now is to implement more modern Read more ...
1
vote
0answers
46 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 ...
2
votes
1answer
601 views

TaxonomyField not updating

I have a little function that updates a taxonomy field on a listitem. It does work when I call it from the SharePoint site, but If I call it from a WCF service (built on top of SharePoint's WCF ...
3
votes
4answers
8k views

Posting JSON to a REST WCF endpoint in Sharepoint using cksdev

http://ranaictiu-technicalblog.blogspot.com/2011/09/sharepoint-2010-access-wcf-service-with.html?showComment=1323864446083#c4340503928745769810 has an example of using JQuery Ajax to GET or POST to ...
-2
votes
1answer
123 views

SharePoint WCF SOAP, Rest, AJAX [closed]

I need to know the following things: How is SharePoint used with WCF, REST and SOAP.
0
votes
0answers
75 views

Current user in custom WCF REST service hosted in SharePoint consumed by Workflow 2013

I have a custom WCF REST service hosted in SharePoint. It is configured by MultipleBaseAddressWebServiceHostFactory in .svc file: <%@ ServiceHost Language="C#" Debug="true" ...
0
votes
0answers
294 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
25 views

How can I call a WCF service inside a webpart

Newbie question for sharepoint 2013. We have a WCF service on a different IIS. I want to call it from inside a web part. How can be done? I've read How to properly call an external WCF Service from ...
0
votes
1answer
126 views

Webservice Context User Access is Denied for Secure Store

I am running a web application scoped webservice (WCF). The webservice runs a method to read credentials from the secure store. The method fails with the message: Credentials were not found for ...
0
votes
0answers
184 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 ...
1
vote
1answer
3k views

How can I host WCF services in _vti_bin?

I am converting a feature from SharePoint 2010 to SharePoint 2013. Part of my project is to convert my feature from the old style manifest, ddf, makecab method to the newer Visual Studio SharePoint ...
1
vote
0answers
13 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 ...
0
votes
1answer
146 views

Wcf inside sharepoint 2013 random authentication error

I have a wcf web service deployed inside the isapi folder of a sharepoint 2013. Sometimes the web service go down and an iisreset seems to solve the problem. The error message complains about a ...
2
votes
4answers
1k views

WCF Service @ SharePoint 2010 TimeOut

I have been developing on SP 2010 for a while now. Mostly I have been working with the Client Object Model. Though I am at a point where I need to read out the UserProfiles from inside SharePoint. ...
0
votes
1answer
214 views

Use Sharepoint 2013 custom services by external angular app

I have custom service deployed on sharepoint farm site collection, and I want to consume it in a external angularJs app, I use this script $http.get("url").success(function (data) { ...
1
vote
0answers
92 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 ...
0
votes
1answer
115 views

Access external web service from SharePoint

One of my client have a SharePoint site and there they have set of sharepoint lists. A webservice they have and given access for me. What I need is to access the web service and get the data. At ...
3
votes
3answers
83 views

Relatively slow page load in my profile page

It takes an average of 4.5 seconds to load a profile page in our site. We've turned on developer dashboard and we narrowed down what was causing this. We have around 7 calls that look like this: ...
0
votes
1answer
28 views

How to host a WCF Service with an SVC file

I am trying to deploy a SP web part to a new SP server. I read that I need to set up a WCF Service first before I can deploy it. I have all the files used from the web part's first deployment and ...
0
votes
0answers
2k 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' ...
6
votes
4answers
3k 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 ...
2
votes
1answer
433 views

Generating User Security Context from a SharePoint Online workflow Activity

I have following SharePoint components-- A SharePoint online site with bunch of document libraries. Deployed workflow custom actions using visual studio and sandbox solution. Created provider ...
0
votes
1answer
70 views

Send extra parameter(s) in BCS/BDC-call to WCF-service

Ok, this question got lengthy, but I wanted to give all details, actual question is in bold below. I have defined an External content type, let's call it ExternalCustomer. I use an ...
1
vote
1answer
305 views

How can I compare existing items with new items in a SP Online list

I have built a WCF Application that populates a SP Online list. This is working without any issues. But, when I run the WCF for a second time, I get doubles of everything. So first of all I want to ...
0
votes
1answer
1k views

Windows server 2008 r2 sp1 and Sharepoint 2010: Built in web services doesn't work

After fresh install of sharepoint server 2010 on Windows server 2008 r2 sp1 all web services doesn't work. When I try to open for example TokenService if shows me exception: Extension: ...