Questions tagged [wcf]

Windows Communication Foundation is a runtime and a set of APIs in the .NET Framework for building connected, service-oriented applications.

0
votes
0answers
22 views

There was no endpoint listening - Remote Event Receiver, On premise provider hosted app

I created an remote event receiver to fire when app is installed on premise provider hosted app. I cannot use azure. While running on doing F5 the solution i get below exception: Installation is in ...
0
votes
0answers
8 views

Setting list item permission using WCF services and Consuming it

I have been using SharePoint Workflows to automate approval processes. Occasionally, we get some of workflows failed for no obvious reason. After re-starting them, it works fine. To avoid these type ...
1
vote
1answer
66 views

SP Online WCF External Content Types using SP Designer 2013

To create External Content Types in SharePoint Online, i have created a WCF service and hosted it in IIS and it is working fine as shown below. Now, I tried to create External Content types using ...
0
votes
1answer
60 views

WCF client web service - what do the TypeId's stand for?

CSOM speaks to SharePoint in WCF web service calls. Here is an example of a SharePoint WCF web service XML request from SharePoint 2010: <Request AddExpandoFieldTypeSuffix="true" SchemaVersion="...
1
vote
1answer
38 views

Custom Web Service does not export the correct endpoint url

I have build a custom web service I deployed within SharePoint (under _vti_bin. The code is : [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)] [...
0
votes
1answer
451 views

Access to _vti_bin

I'm trying to deploy a WCF hosted on my SharePoint site but I can't find the address where my web service is deployed. I have a confirmation message which said that my web service is well deployed ...
1
vote
1answer
45 views

How to get data from SQL with Sharepoint and use them in VSTO

I'd like to get some data from my SQL database and use it in my visual studio project. But the problem is I can't use the port number in a connection string like I have to do it normally due to a ...
1
vote
1answer
58 views

Access SQL Data via Web-Services (Sharepoint)

I'd like to get some data from my SQL database. But the problem is I can't use the port number in a connection string like I have to avoid it normally due to a firewall. Currently, my SQL server is ...
0
votes
2answers
31 views

Fiddler not rendering POST response in Sharepoint 2010 - WCF RESTful service

I have created a WCF RESTful service in SharePoint 2010 and it's working as expected for all the POST methods in Postman, whereas the same run from Fiddler generates authentication error. I have ...
1
vote
1answer
242 views

Error configuring Sharepoint 2016

I have an error while configuring Sharepoint. How do I unblock WCF data services and AppFabric files and reinstall them?
1
vote
0answers
125 views

SharePoint Overload, Web Service Overload or a combination of both?

I have an over highly customised SharePoint Online system. This system consists of various workflows that help a client company represent their day to day business process. One of the workflows ...
2
votes
0answers
53 views

Attach document to SharePoint 2010 List item with JSOM & WCF Service

I've to attach the document to list item with JSOM & WCF Service. Please check the below code function createListItem(webUrl, listName, itemProperties, success, failure) { $.ajax({ ...
1
vote
0answers
2k views

requested an insecure XMLHttpRequest endpoint. This request has been blocked; the content must be served over HTTPS

I am making an ajax call from Sharepoint site to access data from a public facing website. $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", url: 'http://...
1
vote
2answers
180 views

Retrieve data from an anonymous site in SharePoint 2013 using WCF

I have a SharePoint site that allows anonymous access (entire website). The site is up and running for a while now without any problems. Now, I have created a WCF service (not REST) hosted in IIS ...
1
vote
0answers
449 views

MSF 2013 - Non-OAuth request. IsAuthenticated=True, UserIdentityName=, ClaimsCount=0

I'm developing some custom WebParts, including WCF Services to be hosted within the ISAPI directory of Sharepoint (Foundation 2013) I'm also referencing some files from the SiteAssets (*js frameworks,...
1
vote
0answers
81 views

SharePoint Online read/write on premise Dynamics AX data

Currently i'm working with a customer having Dynamics AX on-premise and SharePoint 2013 on-premise web portal. They have built a custom WCF service to get data from Dynamics AX (employee, client, HR ...
0
votes
1answer
22 views

SharePoint external content type using SharePoint hosted WCF (inside layouts)

I have some requirements to create external content type using WCF service which is hosted into SharePoint layouts folder. I get error while creating external content type into SharePoint designer ...
1
vote
1answer
310 views

Sharepoint with WCF Service HTTP request

I have a Sharepoint solution with a WCF Service and a simple get method that returns a "Hello world". When making the request however, it doesn't return anything and I don't get any error either. Any ...
3
votes
1answer
179 views

End Point not found in custom WCF service with share point 2013

I am creating a custom Wcf service in sharepoint 2013 my code as below. objectiveIntegration.svc <%@ ServiceHost Language="C#" Debug="true" Service="Technologies.Test....
0
votes
1answer
475 views

Connect to SharePoint Online with ADAL From WCF

I am trying to connect to SharePoint Online with ADAL from a WCF Service that is hosted in Azure as App Service. I configured the App, got a client ID and Secret, enables AAD auth. This works, if i ...
0
votes
2answers
1k views

Secure Store Service Certificate Issue Event ID 7557

I have recently created Secure Store Service in my Production environment. Its never been up since its creation and i am seeing a generic error below when navigating to service. However its working ...
1
vote
0answers
35 views

Custom secure store service works only when the All Domain Users group is specified for the members

I created a WCF service that retrieves credentials from the secure store service in SharePoint. I created a target application in the secure store and set the Target Application Type to group. In the ...
3
votes
0answers
46 views

Is there a way to host WCF service that uses web sockets in the SharePoint context?

Sorry for a broad and poorly formulated question. I've been thinking about hosting a WCF service inside a SharePoint context (ISAPI folder) that uses web sockets. Did someone manage to accomplish it? ...
0
votes
1answer
537 views

How to close the modal dialog: SP.UI.ModalDialog.commonModalDialogClose in Add-In

Current Environment: SharePoint online 2013 Could someone suggest on how to close the SharePoint Add-In modal dialog. I have created a custom action on a library using a wcf service. When clicked on ...
5
votes
0answers
885 views

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

Background:- I created a WCF service hosted in my local system 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
548 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....
4
votes
1answer
439 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 ...
1
vote
1answer
44 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
2answers
946 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....
0
votes
1answer
249 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
30 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 ...
3
votes
0answers
321 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 ...
1
vote
0answers
125 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 ...
6
votes
3answers
370 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
0answers
1k 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
203 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....
0
votes
1answer
410 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
36 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 ...
3
votes
1answer
3k 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
68 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
989 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
136 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 ...
1
vote
1answer
656 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
2answers
216 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 ...
1
vote
0answers
182 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
352 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
41 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 ...
0
votes
1answer
286 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 =...
1
vote
0answers
409 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 ...
4
votes
3answers
2k 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 ...