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

5
votes
6answers
10k 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: ...
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: - ...
2
votes
1answer
744 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 ...
2
votes
0answers
133 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
votes
1answer
931 views

Consume a WCF REST Service with webHttpBinding in Sharepoint 2010 WebPart

I have developed a custom WCF REST service with webHttpBinding in VS2010 and trying to consume in SharePoint 2010 WebPart developed in VS2010. I don't know how to do the settings. Please help! Please ...
4
votes
3answers
4k 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 ...
1
vote
0answers
195 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 ...
0
votes
2answers
90 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 ...
5
votes
2answers
10k 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 ...
0
votes
3answers
3k views

listdata.svc authentication issue

When I visit my local SP2010 instance on Windows 7 at localhost/_vti_bin/listdata.svc I get Internet Explorer cannot display the webpage. There's no details even though I've turned off Friendly ...
0
votes
1answer
1k views

custom wcf binding set dynamically from code

I am developing a workflow custom action that uses a wcf webservice. The thing is, I have no proper way to attach the app.config file so I'd have to generate the bindings and the client endpoints ...
0
votes
0answers
242 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. ...
1
vote
0answers
345 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 ...
1
vote
2answers
1k views

How to create an external data source based on a Web Service?

Can you please advise me "How to create an external data source based on a Web Service"? Usually WCF can be a data source, but I am not strong on WCF. Could I use the existing web service as an ...
2
votes
1answer
2k 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 ...
1
vote
3answers
331 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 ...
7
votes
2answers
1k 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. ...
10
votes
4answers
21k 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 ...
1
vote
1answer
2k views

Custom WCF service - includeExceptionDetailInFaults

I've got a custom WCF service that I created using the CKS toolkit for SharePoint. How do I enable includeExceptionDetailInFaults in these services? The way I understand it is, when using ...
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 ...
0
votes
8answers
7k views

Access denied when code is executed remotely as a wcf service

Following my previous question The folowing code when executed locally as a console app is working fine, But when I include the same code in a WCF service, I am getting Access is denied exception. ...
0
votes
0answers
99 views

“Access is denied” when consuming custom WCF Service [duplicate]

Possible Duplicate: Access denied when code is executed remotely as a wcf service I successfully deployed a simple wcf service on sharepoint. But when trying to consume it,i am getting ...
1
vote
1answer
72 views

Ideal way to Secure Custom Application

We are developing an application which is going to do some CRUD operations for a couple lists and offer our customers to download files. We are using REST services as well as Sharepoint Web Services. ...
0
votes
0answers
853 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 ...
3
votes
1answer
731 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 ...
1
vote
1answer
359 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 ...
0
votes
1answer
1k views

Custom WCF service in Sharepoint 2010 returns 401 Unauthorized

I've followed this guide to create and deploy a custom WCF service in Sharepoint 2010 to be consumed in a Visual Web Part using jQuery. The WCF service's method does several things: Make use of ...
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 ...
1
vote
1answer
329 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
0
votes
1answer
586 views

How to pass FBA credentials to a custom wcf service @ SP

I am creating a custom wcf service deployed on sharepoint. How to pass the current user's credentials to the service (from a web part)? Do i have to use these helpers: ...
0
votes
1answer
1k views

How to use Sharepoint Data Services (listdata.svc) in WCF service project in a site with non-english language?

I have a site collection with Persian language. so lists and fields are in Persian. When i create a console application and add reference to listdata.svc, i can use the DataContext and add items to a ...
1
vote
4answers
588 views

How to deploy a WCF Service in a specific web application

created my WCF Service in my local machine, now I have to deploy this to another server. I copied my dll and wsp files and try to add it to the other server using • Add-SPSolution c:\deploy\.wsp ...
3
votes
2answers
947 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 ...
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: ...
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 ...
3
votes
2answers
611 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 ...
1
vote
1answer
562 views

Simple Microsoft demo wcf service works on classic authentication web app, but fails on a claims based web app. Why?

This must be something very simple I just don't get. I create the demo wcf service by Microsoft: http://msdn.microsoft.com/en-us/library/ff521581.aspx I create two web applications on my SP2010 ...
3
votes
2answers
3k 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
4answers
9k 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
412 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 ...
1
vote
3answers
2k views

WCF end point not deploying to ISAPI folder

I have Site level Feature. I have created a mapped a SharePoint folder to ISAPI. I have added a folder (myfolder) into the ISAPI folder. I have created a .svc (endpoint.svc) file and a web.config file ...
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 ...
4
votes
3answers
9k 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 ...
0
votes
1answer
413 views

Is it possible to create an external content type from WCF service with message security?

I have an external content type that consumes a WCF service. So far it's something simple, over HTTP, no security, just for tests. Here is a sample to get an idea. Now I'm stepping up a gear and want ...
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
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 ...
2
votes
2answers
372 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 ...
2
votes
1answer
473 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 = ...
1
vote
1answer
1k views

The HTTP request was forbidden with client authentication scheme 'Anonymous'

I am receiving the following error from my SharePoint 2010 service application: The HTTP request was forbidden with client authentication scheme 'Anonymous' This code is being thrown from the my ...
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 ...