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

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 ...
1
vote
1answer
879 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, ...
-2
votes
1answer
81 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
15 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
5 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 ...
1
vote
1answer
476 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 ...
0
votes
0answers
17 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 ...
1
vote
1answer
313 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: ...
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). ...
1
vote
1answer
14k 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. ...
0
votes
0answers
20 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. ...
0
votes
0answers
64 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
1answer
70 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
129 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 ...
0
votes
1answer
190 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: ...
1
vote
0answers
12 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
70 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
127 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
51 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
73 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
62 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
20 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
1k 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
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 ...
0
votes
2answers
2k 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 ...
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 ...
0
votes
1answer
49 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
226 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: ...
0
votes
1answer
916 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 ...
0
votes
1answer
52 views

Exposing WCF for client Scripts from SharePoint 2010

I am developing a SharePoint 2010 site and in need to access my WCF Web Methods from a client script from SharePoint. I am not sure on how to do this. Two approaches in my mind are. Add reference ...
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
0answers
29 views

Sharepoint 2010 and WCF interactions

I try to read and create XML files on a Sharepoint 2010. I know that Sharepoint exposed some services used to interract with the application (like /_vti_bin/ListData.svc or /_vti_bin/Lists.asmx or ...
0
votes
1answer
31 views

Need clarity about ListData type

I'm new into Sharepoint development. I'm looking into a previously written console program that updates a list from a Sap database. I've found this line of code where in I'm not able to find any ...
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 ...
0
votes
0answers
61 views

Use Dictionary from WCF in External Content Type

Is it possible to use a Dictionary which is returned from a custom WCF Service for an External Content Type in SharePoint (2013)? So far I was not able to use a Dictionary in SPD because I cannot ...
0
votes
0answers
250 views

Search using KeywordQuery not working in WCF Webservice

The sample code I'm using to test Sharepoint Server Search works fine from a Console Application: using System.Data; using System.Linq; using Microsoft.SharePoint; using ...
0
votes
2answers
555 views

How to consume external web services on SharePoint 2010

I'm trying to get data out from DB2 mainframe into SharePoint 2010. My Orz use common web services and one of the developers have given me the WSDL file that they have used before. I'm not sure how ...
0
votes
2answers
352 views

Use a WCF service or REST api for JSON?

I've just started working with SharePoint 2013 on a company that uses a WCF service to return JSON data with .svc-files and custom classes. I got the task to populate a table with items from a List, ...
1
vote
2answers
352 views

How to make Wcf accessable with multiple domains

Below is my WCF service which i have created. I was able to access this service with in the domain.However i want to make this service available across domain through BCS from sharepoint designer. Can ...
0
votes
0answers
86 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? ...
0
votes
2answers
951 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
0answers
44 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 ...
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 ...
1
vote
0answers
88 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
94 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 ...
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 ...
1
vote
1answer
109 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 ...