I'm attempting to reproduce a simple / straight foward demonstartion from Scott Hanselman (azgroups.nextslide.com/odata-begins). I created a very basic entitymodel then added the service. However it keeps going to an error in my broswer.
The goal would be to expose my Entity Framework objects over the wire as a web service that I can consume from a client application. I even started a blank project from scratch and still have the same results (VS2010). I have sample code as well
that can reproduce the problem.
The operation 'ProcessRequestForMessage' could not be loaded because it has a parameter or return type of type System.ServiceModel.Channels.Message or a type that has MessageContractAttribute and other parameters of different types. When using System.ServiceModel.Channels.Message
or types with MessageContractAttribute, the method must not use any other types of parameters.
Steps to repro:
1 Create new WCF Service Application
2 Create new Ado.Net entity model
3 Create new WCF Data Service
View Complete Post