amarildopps / odata4j

Automatically exported from code.google.com/p/odata4j
2 stars 0 forks source link

odata4j does not support OData v3 #250

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run an OData v3 service. 
2. Attempt to connect using OData CXF client. (I didn't test Jersey client.)
3. Call getMetaData() on the consumer to get an EdmDataServices object back. 
4. Call getVersion() on the EdmDataServices object. 

What is the expected output? What do you see instead?

I expected to see the version of the OData service (probably the string "3.0"). 
Instead I get an exception: "Unexpected version 3.0"

What version of the product are you using? On what operating system?

I'm using the current source tip on Red Hat Linux. 
Please provide any additional information below.

Original issue reported on code.google.com by arachne.jericho@gmail.com on 22 Mar 2013 at 2:29

GoogleCodeExporter commented 8 years ago
Guys am on Windows, trying to access a Odata v3, service. I get the same 
exception as mentioned above 

java.lang.IllegalArgumentException: Unknown ODataVersion 3.0

Any updates on this?

Thanks
K

Original comment by kiddo.be...@gmail.com on 6 Nov 2013 at 8:02