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
1answer
95 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 ...
4
votes
1answer
81 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 ...
2
votes
1answer
248 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 ...
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
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....
1
vote
1answer
528 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
249 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 ...
1
vote
1answer
494 views

SharePoint Foundation 2013: Posting Documents From External system To SharePoint Library

The scenario: there is an external system (PHP Back office) ) which will post documents with their metadata to SharePoint Site (library), when a user in the backoffice of that system will add a ...
1
vote
1answer
168 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 ...
1
vote
1answer
54 views

Use WCF without adding its reference

I'm working with SharePoint 2010 and using a WCF service in my project. Due to some reasons some class names in my WCF were changed, that caused me to remove and add the service reference and ...
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 ...
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
0answers
313 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> <...
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
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 ...
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 ...
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 ...
1
vote
0answers
311 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....
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
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 ...
1
vote
0answers
131 views

Error on accessing SharePoint 2010 Lists from a VB.NET app by Using WCF Data Services

I have a VB.NET application published to a server and basically I need to get all items from a SharePoint list and display them into a grid view. I'm trying to accomplish this by using WCF Data ...
1
vote
0answers
16 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 ...
1
vote
0answers
212 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 ...
1
vote
0answers
130 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? ...
1
vote
0answers
192 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
228 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 System....
1
vote
0answers
606 views

Using 'Call HTTP Web Service' activity to call WCF service hosted on SP site with authentication

Hell guys, I have a WCF service deployed to SharePoint site exactly like in this tutorial - there is a .svc file deployed to ISAP folder (/_vti_bin virtual directory) and there is a class ...
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 ...
1
vote
0answers
302 views

Why WCF service does not work in sharepoint web part?

I have created a web service using WCF which gets the data from SQL into sharepoint. I have hosted it in IIS. It works fine when I call the service in the browser. I can see the wsdl. I used an asp....
1
vote
0answers
93 views

Override a WCF Data Services CSDL

I'm dealing with an issue with a SharePoint 2010 Hosted WCF Data Services. So Keep in mind that i'm restricted to work with .NET 3.5. In order to generate the CSDL endpoint for descripting my entities,...
1
vote
0answers
208 views

Can't get Custom BCS Connector with filters to work

I am trying to create a BCS connector in Visual Studio that connects to a WCF service. I first used an parameterless GetAccounts method as the source for the ReadList method, and the wanted to add ...
1
vote
0answers
355 views

Load full list XML into JavaScript variable via CEWP

Currently I am using the lists.asmx webservice to POST a soap envelope and return specific list items. I really want the whole contents of the list. I realize how large that might get, but if this ...
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 ...
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/...
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
0answers
48 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-...
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] ...
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
0answers
184 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
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 ...
0
votes
0answers
1k 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 ...
0
votes
0answers
533 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
0answers
405 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 ...
0
votes
0answers
3k 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' ...
0
votes
0answers
68 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 ...
0
votes
0answers
261 views

Instantiating CKSDEV WCF service reference client object causes Default Endpoint Exception

I have tried to set up my first cksdev wcf service in sharepoint 2010 and am unable to instantiate my service reference client object in code. I have two separate sharepoint projects in my solution. ...
0
votes
0answers
981 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 project,...