Questions tagged [wcf-data-services]

This technology uses the OData protocol to transport data over the Internet using REST-ful paradigms. WCF Data Services was formerly known as ADO.NET Data Services and its code name, Astoria.

Helpful Links:

Visit http://www.odata.org for producers and consumers of OData services and some information on the protocol itself.

Visit http://www.odataprimer.com/ for lots of samples and examples on using WCF Data Services with various platforms and devices.

1909 questions
0
votes
1 answer

The Type xx provided as the Service attribute value in the ServiceHost directive

Error while even browsing to http://xxx/mysite/_vti_bin/service/service.svc The Type NameSpace.Classx, AssemblyName, Version=1.1.1.1, Culture=neutral, PublicKeyToken=xxx provided as the Service attribute value in the ServiceHost directive, or…
edelwater
  • 2,650
  • 8
  • 39
  • 67
0
votes
1 answer

Update just one property in CRM via WCF Data Services

I have some code that gets an object from CRM, then update one property, and then push it back to CRM. I generated WCF Data Services context based on Organization Data Service (OData). But when I've try to send update, then it sends all loaded…
Sergey Litvinov
  • 7,408
  • 5
  • 46
  • 67
0
votes
1 answer

recurring action in WCF Data service

I have a WCF Data Services web service and there is an some code that should be executed every 10 minutes. I wonder how can I achieve that without affecting the performance of the service. I would be grateful too if you could give me some general…
Ahmed Kamal
  • 1,478
  • 14
  • 27
0
votes
2 answers

OData DataServiceContext query without DataServiceKey attribute

On the server side I have an Entity Framework DbContext NorthwindContext and an System.Data.DataService My client needs to query the dataservice. I am able to retrive data with var uriString =…
Jürgen Steinblock
  • 30,746
  • 24
  • 119
  • 189
0
votes
1 answer

Ado.net dataservices BeginExecuteBatch call works on development fails on production server with Object does not match target type

We have an ado.net dataservices 1.0 call that is being passed to a [WebGet] service operation as a batch through BeginExecuteBatch. Everything works perfectly on our development server - we have the project configured to use IIS instead of the…
Mike Morley
  • 105
  • 1
  • 6
0
votes
2 answers

Deleting Objects from any entities in WCF Data Service gives me an exception

I have a wcf data service that has multiple entities. I have a problem with deleting objects from any entity as I get this exception. My service is hosted as a cloud service in Azure. It gives me this error message "401 - Unauthorized: Access is…
Ahmed Kamal
  • 1,478
  • 14
  • 27
0
votes
1 answer

WCF Cross domain service creation

I've REST based WCF service which is host on IIS 7.5. It is working fine, but when try to access from PHP application. It's returning blank response. Actually the plan is, to make it available to open world. Just like yahoo weather service. This…
M2012
  • 3,465
  • 2
  • 20
  • 27
0
votes
1 answer

How to add an inherited type using wcf data service client

I have an inheritance hierarchy where Owners, Tenants, Vendors and Agents are derived from People. In my WCF Data Service client, I want to use AddObject to create a new Owner, but I cannot find how to do this. When I try: var owner = new…
Alan Godfried
  • 95
  • 1
  • 8
0
votes
1 answer

How to Configure Project in Silverlight 5, Entity Framework 6, Telerik, Data Service / RIA

I'm trying to configure a Silverlight Business Application with Silverlight 5 using OpenRIA at VS2013. I'm facing a big challenge. There was no Silverlight Business Application Template. Some How After doing R&D I got it which Uses Open RIA. When I…
0
votes
1 answer

Client is using WCF that wants to communicate with this JDE (JD Edward) Web service

I have one requirement where our client is having a portal to create tickets.... their portal will send the data created by calling a WCF service to store into JDE system. They prefer to ahve WCF web service. Using WCF they will send request in jde…
0
votes
1 answer

WCF DataService (OData) Timeout

There is a WCF DataService(OData) developed and deployed as azure webrole accessing the SQL Azure database using Entity Framework. It works well on tables with fewer rows. But there are also some tables with millions of rows. When trying to access,…
Srinivas
  • 2,479
  • 8
  • 47
  • 69
0
votes
2 answers

REST POST Request not working

Here is my WCF Rest Api which is using POST. [OperationContract] [WebInvoke(Method = "POST", ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Json, UriTemplate = "/Test/{id}")] void Test(string id); I am calling…
user476566
  • 1,319
  • 3
  • 26
  • 42
0
votes
1 answer

OData Sign-in from Excel

We have a windows azure cloud service for OData feed. It is developed as WCF service and deployed as web role. When opened the OData Service from web browser, the login page appears and able to provide credentials and get authenticated. The OData…
Srinivas
  • 2,479
  • 8
  • 47
  • 69
0
votes
1 answer

Android use ksoap2 to connect wcf webservice sometimes fail connect to server

I had a problem that when I use ksoap2 to connect wcf webservice, Sometimes that ok I had connect and get data successfully, but sometimes that fail (socketexception: fail to connect to server) internet is ok for all case. I had set timeout for each…
0
votes
1 answer

WCF Data Service 5.6 + EF 6 Code First + Alpha Provider with Stream Provide

I need some help please. I've tried to implement a stream provider along with EntityFrameworkDataService Provider. I, then, implemented IServiceProvider on my Data Service as it's recommended in this series of article about StreamProvider. But I'm…
1 2 3
99
100