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
0answers
167 views

workflow consuming WCF Service in https - First Call takes too much time

I have a State machine Workflow that consumes a WCF Service in https (Basic Authentication, security mode transport). It works fine in our test environment, but it had problem in the integration ...
0
votes
0answers
4 views

SharePoint 2013 WCF giving error, “Server Error in '/' Application. Configuration Error”

I am creating sharepoint hosted WCF. And I have created is as mentioned in the following blog, ...
1
vote
0answers
105 views

Calling SharePoint list.amx service throws error - The authentication header received from the server was 'NTLM'

Here is my scenario : I am trying to access SharePoint 2010 list items via list.asmx service. Following is my code and app.config which works on my developer box hosting the SharePoint site var ...
3
votes
0answers
15 views

How do connect to soap/rest datasource using sharepoint designer 2013?

How do I connect to SOAP/REST data-source using SharePoint Designer 2013? (my web service is https://mysite/service/v2/soap.php?wsdl Using the External Content Type directly for a WCF service does not ...
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
1answer
24k 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
1answer
580 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 ...
1
vote
0answers
24 views

WCF Authorization via SharePoint Security Model

Would like to implement authentication and authorization operations on non-SharePoint hosted cross-domain WCF service via SharePoint 2010 Security Model, which is Windows Authentication. So, a member ...
0
votes
0answers
9 views

SharePoint 2013 WCF Error Provider type not defined [duplicate]

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 ...
0
votes
1answer
289 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 ...
4
votes
0answers
35 views

Statistics on Sharepoint, what is the best practice?

I need to know who visits a site collection and I was looking for a way to get information about the visitors such as: user, ip, etc. I thought to use Google Analytics, but there's no way to registry ...
1
vote
1answer
189 views

Custom WCF Service responds with 413 Request Entity too large

I have a custom WCF service that external services are using to send generated documents through for storage in SharePoint. Small files are working fine, but anything over 64KB is getting rejected ...
1
vote
0answers
42 views

Could not find default endpoint element that references contract

First of all: I know, there are a lot of threads like this and be sure I READ THEM! But I constantly run into this error. An exception of type 'System.InvalidOperationException' occurred in ...
1
vote
0answers
41 views

webservice does not return data from sharepoint list

I have a WCF REST SOAP web service. whenever I try to call the service using console application. I get this error message: An unhandled exception of type ...
4
votes
1answer
769 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
4answers
685 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
1answer
66 views

Sharepoint clientcontext access within WCF in Azure Cloud Service

I developed a basic WCF service in Azure Cloud Service which works perfectly fine. I then wanted to make it a new item on a SharePoint list. The added code works perfectly when I start it from Visual ...
0
votes
1answer
29 views

Use WebAPI2 in SharePoint 2013 project

in the past i have created WCF Services and used them in my SharePoint 2013 projects. I was very easy adding a new definition insise the ISAPI folder an after that to define the Interface and the ...
1
vote
1answer
177 views

Access Old Version File objects with CSOM

I created a WCF service that uses Client-side Object Model (CSOM) to query file information from a SP Document Library. I need to create a List<File> with all the files associated with all the ...
1
vote
1answer
29 views

how to use the app pool account in a custom wcf service

Created a WCF service that is hosted in SharePoint and interacts with a SQL database. The site that I'm accessing the service from has kerberos enabled. When I use the service, it is passing my ...
0
votes
0answers
139 views

Allow anonymous access for a single web service

I've created a simple custom WCF service in SharePoint. ITicketingClientService.cs: using System.ServiceModel; namespace TicketingSystem.Core.ClientService { [ServiceContract] ...
1
vote
2answers
67 views

Deploy a WCF service on a non sharepoint Environemnt

I have a WCF service that uses the DLL : Microsoft.Sharepoint When I deployed it to the server that does not have SharePoint installed on it then I got the below error : Could not load file or ...
0
votes
0answers
14 views

How to add security to sharepoint custom WCF service

I've made a custom wcf service under sharepoint 2013, but if i call the service directly (no auth no security=, it work... any suggestions to make the service secured? Thank you very much for any ...
0
votes
2answers
1k 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: ...
0
votes
0answers
74 views

SharePoint 2013 Workflows - A binding instance has already been associated

I upgraded from .NET 4.5 to 4.5.2 via the Web Platform Installer. This utility offers no way to rollback or uninstall. I am getting the following error in SharePoint for a 2013 Workflow (also shown in ...
0
votes
0answers
94 views

How to use SP credentials to authenticate user for external WCF service by javascript

I have an application page in SP with javascript and by this javascript code I'd need to call external self hosted WCF service from different domain with some authentication.(The WCF service is able ...
0
votes
2answers
78 views

Adding An item to sharepoint list using WCF service does not start workflow on that list

I tried adding a new item to list using WCF Service . The item is added successfully to the list but sharepoint 2013 designer workflow does not start on that list item, no workflows where created at ...
0
votes
0answers
16 views

App for SharePoint connecting to external WCF service

I have coded a litle App for SharePoint, that must get some info from a WCF Service, hosted in a IIS. The WCF has a webHttpBinding, with no security, no REST, and a clasical test Customer is working ...
3
votes
1answer
2k 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
0answers
57 views

One time authenticating a user for both JSOM and CSOM calls

I have a SharePoint hosted app that requests the user's login credentials and sends them to a WCF service that at some point creates a context in CSOM using these credentials to issue some requests ...
2
votes
0answers
141 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 ...
0
votes
0answers
41 views

Custom WCF Service in SharePoint That Queries SQL Server

I'm able to create a WCF service and deploy it SharePoint. When I try to add functionality to interact with a SQL Server database, the service stops working. For testing, I've tried creating an ...
1
vote
0answers
48 views

How to convert List Name and List Field Display Names to REST API?

I'm using SharePoint 2010 REST API and noticed the a unkonwn (at least to me and to my searches) translation function is applied over List Names which go in the URL and to Fields Names in the results. ...
1
vote
1answer
87 views

Sharepoint 2013 Online filter by attachments name

i want to query to list items by filtering attachments name with default WCF query. But i get an error. My query is below. Is that possible? ...
0
votes
1answer
23 views

update web.config depend on environments

I have written feature which updates web.config in inetpub folder under default port 80. It updates web.config with service model. This is not complete code but some code in featureeventreceiver ...
1
vote
0answers
84 views

Compress file and stream back to client - Sharepoint 2010

To reduce file transfer time we are developing a basic WCF service which supports upload/download files from/to Sharepoint 2010 but by compressing the file before transfer. This service is using ...
0
votes
1answer
71 views

consume wcf service

I created application page in empty sharepoint page. Then i added service reference to my wcf service hosted outside sharepoint farm. It added reference successfully. But when i initialise var mySer ...
0
votes
0answers
30 views

Data missing from services?

My employer is using SharePoint Foundation 2010. I am trying to build an alternate front end that displays a pivot table based on one of the lists. This list has a multi-value field. It has a default ...
0
votes
1answer
154 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
29 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. ...
1
vote
1answer
237 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 ...
2
votes
2answers
170 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
49 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
110 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
22 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
22 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" ...
0
votes
2answers
11k 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
0answers
194 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
189 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
44 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, ...