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
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
6k 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
69 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
793 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
668 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
342 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
321 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
553 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
997 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
528 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
913 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
569 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
552 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
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
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
383 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
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 ...
3
votes
3answers
8k 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
403 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
361 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
458 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 ...
0
votes
1answer
69 views

Which stereotyped operations are mandatory in my web service

I'm trying to connect to an external resource using Sharepoint 2010 and connect to a WCF web service. I want to know which stereotyped operations are mandatory for me to create in the web service to ...
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 ...
0
votes
1answer
773 views

Getting an error while creating external content type based on WCF service

I created a WCF Service in Visual Studio and wanted to create an external content type based on it but I get an error message while creating the content type: "Error loading URL ... this normally ...
0
votes
2answers
447 views

Silverlight WCF call is too large for sharepoint wcf

I have a silverlight 4 project calling a WCF service deployed on sharepoint 2010. There are two methods a get and and a save, teh get works fine but the save returns a generic message "Not Found" ...
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), ...
5
votes
1answer
474 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 ...
6
votes
2answers
14k 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 ...
1
vote
1answer
4k views

BasicHttpBinding WCF services don't get NTLM challenge when hosted on a Claims enabled server

The service is hosted in /_vti_bin, and uses SharePoint's own BasicHttpBinding service host factory (MultipleBaseAddressBasicHttpBindingServiceHostFactory). According to Microsoft's guidance, three ...
0
votes
3answers
388 views

Pass user UPN claim to WCF service via BDC

I've finally managed to get my SharePoint system up and running so that it authenticates users with Kerberos and successfully passes that authentication along to a back-end WCF service. All end-users ...
5
votes
2answers
780 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 ...
2
votes
1answer
1k 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 ...
1
vote
1answer
733 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
804 views

My custom WCF Service can only be access using http://<servername>:<port>/_vti_bin/myservice.svc

I've used the "Walkthrough: Creating and Implementing a Custom WCF Service in SharePoint Foundation" from MSDN to create my cusom WCF Service and deploy to my Sharepoint 2010 server. The wsp is ...
0
votes
2answers
1k views

WCF service in claims-enabled SharePoint app

I have a WCF service hosted in a Claims-enabled SharePoint 2010 webapp. Using wsHttpBinding I can get a console client to use Windows (Kerberos) authentication against the service. Within the ...
0
votes
1answer
484 views

SharePoint 2010 BCS stops working after a while

A little background: we are using the BCS with an external content type to expose external content we provide using a WCF service. We have a webpart that uses the external content type to display a ...
1
vote
2answers
4k views

Why do I get a 401 error when calling a WCF service from a web part?

I have a SharePoint 2010 web part and WCF service deployed to a web application using Kerberos authentication. The service was developed based on the walkthrough from MSDN with the only difference ...
1
vote
2answers
441 views

Server-Related problem when using WCF to communicate with sharepoint

I have a simple get list method for sharepoint /// <summary> /// Returns a list of sharepoint lists /// </summary> /// <returns>A list of sharepoint ...
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. ...