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

9
votes
4answers
17k 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 ...
7
votes
2answers
856 views

SharePoint 2010 User Profile Synchronization: BCS + WCF

I'm here because I'm trying to implement a scenario of user profile synchro with bcs connecting to wcf service. Here is the context: A remote web service is returning a full list of employee infos. ...
6
votes
2answers
12k views

Error while referring “/_vti_bin/ListData.svc”

While trying to refer "ListData.svc" service in my VS.NET WinForm project, I am getting an error The HTML document does not contain Web service discovery information. Metadata contains a reference ...
6
votes
4answers
2k 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 ...
5
votes
1answer
456 views

Custom Web Service not cannot find User

I have created a Custom Web Service for my .NET application that performs various functions against a Sharepoint 2010 site. I use a standard function to run each function as an impersonated user (so ...
5
votes
2answers
767 views

WCF: SPWeb.Update() throws NullReferenceException (eventually)

We have a custom WCF based service for automating some common tasks within our SharePoint 2007 environment. There is an issue with a piece of code that modifies the title of a SharePoint web. The ...
5
votes
6answers
8k views

How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#?

I've this WCF web service hosted inside a Sharepoint 2010 web application. This service is created using the following factory: ...
4
votes
2answers
7k 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 ...
4
votes
2answers
2k views

BDC Entity with TypeDescriptor System.String[] gives errors when crawling

Is it possible to crawl a BDC content source with an entity that has a property of type string array (System.String[])? At one point I had this working successfully in my dev environment but it ...
4
votes
3answers
3k views

How to properly call an external WCF Service from SharePoint?

I would like to call an external WCF Service from within SharePoint 2010. Using normal WCF calls immediately causes a SocketException (An existing connection was forcibly closed by the remote host), ...
4
votes
1answer
219 views

Int type as Entity key into BCS Model

The BCS Model can't create a form for the "Update" operation if the key of Entity has a type of uint, int, long or ulong when I use WCF as a data source. It works fine with the string type. Does ...
3
votes
2answers
553 views

Calling WCF Service from a workflow in Sharepoint Online

Is there any way to call a WCF service from a sharepoint online workflow (Sandboxed Solution)? I have looked up quite a few samples but they all seem to use farm solutions which is obviously not an ...
3
votes
2answers
850 views

ScriptManager ServiceReference in SharePoint

I have always used jQuery.ajax to retrieve data from listdata.svc or lists.asmx in SharePoint and from some custom web services. Now I will try Microsoft Ajax Library and especially ServiceReference ...
3
votes
3answers
7k views

SharePoint Takes 15 Seconds to Load Page

I've got a problem with my SharePoint 2010 farm and I can't think where to start. Bizzarly, this is happening in multiple completly seperate environments (DEV/TEST/PREPROD/PROD). Every so often ...
3
votes
1answer
2k views

Is it possible to configure a WCF Rest Service in SharePoint?

I'm trying to make a WCF Rest service inside SharePoint. I'm using webHttpBinding as the binding and "WebGet" attributes on my service methods. I deployed in a standard web application and it worked ...
3
votes
1answer
1k views

Problem when migrating SP2010 solution with WCF service to SP2013

I have a VS2010 solution that has a few projects inside. One of them is a Sharepoint 2010 project that contains a WCF service generated from the CKS template. I needed to migrate this solution to ...
3
votes
3answers
61 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: ...
3
votes
2answers
48 views

WCF for SP Developer [closed]

AS a SharePoint developer, how common is it to use and work with windows communication foundation? What context? Any real based example?
3
votes
2answers
2k views

Problem with WCF Web Service in SP2010

I've followed this tutorial and also this one (tried every possible combination of those) to deploy a custom WCF service in Sharepoint 2010. But I'm not having any luck. Once the service is deployed, ...
3
votes
1answer
2k views

Is SPContext.Current Supposed to Be null in Custom WCF Service?

Here is the scenario: Custom WCF Service deployed in SharePoint 2010 Site is using Claims Based authentication (FBA, NTLM) .svc is deployed to ISAPI in the hive Service is configured using custom ...
3
votes
3answers
3k views

Impersonation in a net.tcp WCF-service in a claims based/Kerberos solution

I have tried to keep this as short as possible, dont hesitate if you want more details. Im trying to get impersonation (of calling user) to work over a net.tcp WCF-Service in a Sharepoint ...
3
votes
1answer
634 views

Get content of Multi-Line text field in Sharepoint 2010 Data Services

I am using listdata.svc service to retrieve data from Sharepoint 2010 I have a List and it has a Multi-Line text field which has append option on. when you append text to multi-line text field, it ...
3
votes
1answer
2k views

REST API + Expand Recurring Calendar Events?

Is there a way using the REST API (through javascript) to expand recurring calendar items? Or is there a helpful client side utility to assist with this?
3
votes
1answer
248 views

Should this be a sandboxed solution?

My company outsourced the creation of a SharePoint WebPart for connecting to our cloud service. The WebPart connects to our service by using our REST API. When configuring the WebPart you supply ...
3
votes
4answers
6k 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
2k views

What WCF Binding is required for HTTPS in SharePoint

I currently have the following WCF Binding. The web service is being called from a SharePoint Application Page using AJAX.Net. Anonymous Access is turned off from within Central Administration. ...
2
votes
1answer
2k views

External wcf (Soap/rest) datasource to external content type

I'm looking for a way to use an external datasource (WCF SOAP or REST) and include the results in a list. Using the External Content Type directly for a WCF service does not work, as I get a XML error ...
2
votes
3answers
358 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 ...
2
votes
1answer
2k views

External List from External Content Type: missing and/or error

I've created an ECT w/ Read List and Read Item operations using SharePoint Designer, saved it, and given myself permissions. The ECT's external data source is a WCF service. When I try to create an ...
2
votes
2answers
1k views

Connecting to WCF service from SharePoint

I have a WCF service that lives on another server that I am trying to connect to from an EventReciever in a SharePoint 2010 feature. I have gone through all the hoops of configuring the feature in ...
2
votes
2answers
1k views

Custom WCF service - namespace location problem

I created a custom web service in my sharepoint using CSKDev template. Everything looks good when I'm testing my service locally. But problems came up when I decided to test it on our sample farm with ...
2
votes
1answer
346 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 ...
2
votes
1answer
1k views

SharepointOnlineCredentials not working in an app

I want to authenticate against sharepoint online site using SharepointOnlineCredentials class. Below code works fine in a console application. But the same code is generating error when written in wcf ...
2
votes
1answer
207 views

Custom WCF service and custom behavior

I often create WCF services that relies on out-of-the-box service factory (Microsoft.SharePoint.Client.Services.MultipleBaseAddressWebServiceHostFactory). This is nice, because there's no web.config ...
2
votes
1answer
217 views

WCF: Cannot find endpoint reference

I have asked this on the general StackOverflow website as well, but would like some opinions specific to SharePoint. I am working on a SharePoint 2013 webpart and a label on the webpart needs to ...
2
votes
1answer
2k views

Using custom WCF in SharePoint hosted App

I have been trying since a few days to call a custom made WCF service from a SharePoint Hosted App. I have read all over the information available on forums and I couldn't find a working solution. ...
2
votes
1answer
65 views

Return TreeView from WCF Service in SP2010

How to return TreeView from WCF Service ? Its giving error when we set return type as TreeView
2
votes
1answer
372 views

SP2010, Odata, anonymous access

Is anonymous access to listdata.svc possible? I'm trying to just simply get list items and display them using json but I either get asked to login or a 401 unauthorized. It's a claims based site ...
2
votes
1answer
450 views

merge two lists with WCF Services and Linq

How do I merge two lists when using REST services? You can't use union with linq and dataservicequery so I'm not sure where to go. The following doesn't work with dataservicequery... var docQuery = ...
2
votes
1answer
975 views

SharePoint hosted WCF service: file uploads

I want to host a custom WCF service in SharePoint 2010. In the service, I have a method which accepts a byte array for sending files. The file is then processed by some custom logic and stored as an ...
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. ...
2
votes
1answer
136 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
537 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). ...
2
votes
1answer
1k views

Dynamically connect to any Service Reference

This is a WCF project. The idea is to use this WCF Service as a "go-between" between my ASP.NET site and SharePoint. This way I avoid CAML in the ASP.NET site and it keeps all of the code that ...
2
votes
2answers
352 views

WCF Data Source within SPD

I have had considerable trouble adding a WCF 4.0 application as a data source within SharePoint Designer. I am able to connect to the WCF service as a SOAP Service Connection and find the available ...
1
vote
1answer
725 views

How to get list data using ListData.SVC in Silverlight Application?

I am “not” looking for solution which uses webrequest to get xml from listdata.svc. I am "not” looking for clientcontext ( since Silverlight app will be deployed to the different server where ...
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
3answers
277 views

WCF service request limit

I have setup a WCf service in my project using this tutorial: http://msdn.microsoft.com/en-us/library/ff521581.aspx However, I'm POSTing lots of byte[] data to the service tocreate a file. I ...
1
vote
1answer
310 views

Create an item (with Choice/User Fields) using Sharepoint Data Services

I am using Sharepoint 2010 Data Services to create items on a table. My table has a column called Priority which has High, Medium, and Low items in it. When I try to create an item in this table ...
1
vote
1answer
310 views

Is it possible to use spquery in WCF for sharepoint

I created custom wcf that retrieve items from the list. Is it possible to use spquery within the wcf to filter the list items