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

0
votes
0answers
6 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
22 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 ...
0
votes
0answers
6 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 ...
2
votes
1answer
26k 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
12 views

SharePoint WCF service and automaticFormatSelectionEnabled attribute

I am creating SharePoint 2013 Custom WCF service according to this manual: ...
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: ...
1
vote
2answers
70 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 ...
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
222 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
27 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
9 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
19 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 ...
6
votes
1answer
85 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 ...
0
votes
1answer
389 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
25k 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
175 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
36 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, ...
3
votes
0answers
24 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 ...
0
votes
1answer
851 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
35 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
1answer
286 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
155 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
64 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
811 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
745 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
111 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
340 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
36 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
243 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
81 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
18 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
160 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
124 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
108 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, ...
0
votes
0answers
75 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
145 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
51 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
68 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
125 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
28 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
113 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
87 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
232 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
32 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. ...