Adding to what Joost mentioned:
Even if you are successful in generating the proxy and your site comes up, there is another issue when you try to invoke your custom action.
Here are the full steps:
- Generate proxy using 6.19 version of odata, using odata connected
services v4
Add reference to the new proxy in Sitecore project
Downgrade the odata nuget packages to v 6.19 in Sitecore project
(ignore dependencies) Mark these odata dlls in the project to not
deploy
- Compile your project and deploy.
check out Engine ProxyService shopcontainer threw an exception of type 'System.MissingMethodException'
IDEALLY - your service proxy project that comes ootb should be added to the Sitecore project and odata version should be changed to 6.19 and then proxy should be generated.