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

6
votes
2answers
104 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 ...
2
votes
1answer
28k 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. ...
1
vote
0answers
22 views

Post JSON ajax request with cors not working in IE10/Edge

Background:- I created a WCF service hosted in SharePoint server IIS. Service exposes GET/POST method and cross domain enabled and can be accessed using https too. To make it accessible, self signed ...
0
votes
1answer
44 views

How to create a Rest wcf service on SharePoint?

I'm trying to make a WCF Rest service inside SharePoint. but it doesn't work and I get 404 :( I set the svc file like that <%@ ServiceHost Language="C#" Debug="true" Service="MyNamespace....
2
votes
2answers
376 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 ...
4
votes
1answer
82 views

How to call external ADFS secured WCF Service within Sharepoint via Javascript in an ADFS environment?

Previously on our little Sharepoint environment: We used integrated windows authentication for everything. On some of our sharepoint sites we integrated some custom javascript application logic that ...
0
votes
0answers
7 views

Specify the ID for Custom WCF Service

Is there any way to set WCF Service ID to Application Pool ID instead of NT AUTHORITY\IUSR? Background I have created a custom WCF service on SharePoint 2013 according to this post. WCF Services in ...
1
vote
1answer
28 views

Sharepoint Discussion List not read the Folders

I have a WCF service which is having a service to get sharepoint discussion list items. But it is not returning data. I debug the WCF service and then identified that it is not read inside the list....
0
votes
0answers
8 views

MultipleBaseAddressBasicHttpBindingServiceHostFactory.CreateServiceHost creates ServiceHost with no EndPoint

When the EndPoints will be generated in MultipleBaseAddressBasicHttpBindingServiceHostFactory? I'm making a custom WCF Service under SharePoint and want to make Message modification that change ...
0
votes
0answers
14 views

SharePoint WCF service and automaticFormatSelectionEnabled attribute

I am creating SharePoint 2013 Custom WCF service according to this manual: http://social.technet.microsoft.com/wiki/contents/articles/24194.sharepoint-2013-create-a-custom-wcf-rest-service-hosted-in-...
0
votes
0answers
17 views

Why is not the service asking me for credentials?

I have mapped SharePoint ISAPI folder and create service in it. When I access, it doesn't ask me for credentials. How is this possible? What could be happening? Example: /_vti_bin/Example/...
1
vote
2answers
116 views

Fix 401 Unauthorized Exception uploading file to SharePoint 2010

I have a WCF service hosted in IIS on Domain 1. This service is accepting a request to upload a file, and then uploading the file to a SharePoint 2010 Server on Domain 2, using the client object model....
4
votes
1answer
2k 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 ...
1
vote
1answer
252 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 ...
0
votes
1answer
35 views

MetadataObjectNotFoundExceptionState when creating an external content type in SharePoint Designer

I am getting a really strange error in SharePoint designer upon trying to create an external content type for a simple SOAP Web service. The error happens at the moment I clicked Add Connection, have ...
1
vote
0answers
11 views

Example DataService (with EF) in SP2013

Does anyone have a good example how to create a (WCF) dataservice in SharePoint 2013, WITH the use of Entity Framework? I need to be able to retrieve the SPContext also, so I guess this will be a ...
0
votes
0answers
21 views

sharepoint forms authentication login info unable to authenticate on my machine

I have setup SharePoint on my shared server not using office 365. Here is my code below. using (ClientContext clientContext = new ClientContext("http://myspsite.net")) { // Get ...
0
votes
1answer
419 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 '...
10
votes
4answers
26k 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
0answers
180 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
49 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, http://social.technet.microsoft.com/wiki/contents/articles/24194.sharepoint-2013-create-a-custom-wcf-...
3
votes
0answers
27 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
3k 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 ...
0
votes
1answer
975 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
39 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 '...
1
vote
0answers
320 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 System....
1
vote
0answers
79 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 'System.Data.Services.Client....
4
votes
1answer
830 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
769 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
131 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
31 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
530 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
38 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
289 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
85 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
19 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
185 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
2answers
124 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
19 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, ...
2
votes
0answers
146 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 ASP....
1
vote
0answers
85 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
138 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? /_vti_bin/ListData.svc/<MyListTitle>?$expand=...
0
votes
1answer
29 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
131 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
90 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
1answer
297 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
36 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. ...