My query is again related with Bag/Collection support in OData.
Problem Statement: Server side implementation is in Java. We have implemented odata V2 but added feature of Collection (which is part of V3- Not sure if we should be doing this and .NET will accept it as published data service version will be 2 only) . Because
of this, when I add reference to my service, default proxy generation tool reports error (DataSvcutil.exe).
The 'Type' attribute is invalid - The value 'Collection(Edm.String)' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2006/04/edm:TPropertyType' - The value 'Collection(Edm.String)' is not valid according to any of the memberTypes of
My question is, is it possible to write my own WCF Proxy generator so that I can generate my own reference.cs file. If yes, how big the effort would be? Basically I would just like to make sure that when system encounters "Collection"
in metadata or data, it will parse details and generate required proxy classes.
Also any public service example of V3 implementation or V2 where collection are implemented would be of great help.
My earlier post related with OData was: http://odata.codeplex.com/discussions/397151
Also please let me know if I am in completely wrong direction and what I am trying to do is not going to work.