Tagged Questions

0
votes
0answers
8 views

Viewing Odata response in web browser

Hi All I have used Odata4j to create Odata Service and deployed in tomcat. When i use Sesame Data Browser i can see a Table (if i click on THREAD ) having header. My question what should be the url ...
-1
votes
0answers
15 views

Odata4j Inmemory Example use

Hi All I have deployed given example for InMemoryProducer in tomcat , when i access url http://://example.svc/ from BROWSER i can see some xml data comming. I have few doubts 1. How will i check if ...
0
votes
1answer
126 views

Android odata4j Consumer EntitySet not found

I am trying to put some data from Android to an OData Server: <edmx:Edmx Version="1.0"> <edmx:DataServices m:DataServiceVersion="1.0" m:MaxDataServiceVersion="3.0"> <Schema ...
0
votes
1answer
45 views

odata, Noclassdeffounderror

Below is the code of android trying to retrieve data using odata. OdataWebNorthwindModelService is name of proxy class(auto generated)... I followed ...
0
votes
0answers
242 views

Nullpointerexception when querying entities from lightswitch odata service using odata4j on android

The real problem This is being tracked as a bug right now: http://code.google.com/p/odata4j/issues/detail?id=187 The problem When i run ODataJerseyConsumer c = ...
0
votes
0answers
112 views

Any workarounds for odata4j EdmxFormatParser not supporting Annotations or Documentation?

I am using the latest version of ofata4j - 0.6.0 SNAPSHOT. I am reading an EDMX file using the EdmxFormatParser class that comes with this version of odata4j. Unfortunately, from my tests and looking ...
0
votes
0answers
281 views

How to define entity links in odata4j InMemoryProducer

I'd like a suggestion on how to use odata4j to expose a set of data. We have a db with several tables linked through foreign keys. We have developed a model based on this db using Spring so that we ...
0
votes
1answer
495 views

odata4j consumer function call

I am having a problem with calling a ext function in odata4j in android client consumer. E.g. the function "Movies" of Netflix public service. METADATA of function: <FunctionImport Name="Movies" ...
0
votes
1answer
228 views

How to process the 'filter' from QueryInfo in odata4j

My RESTful web service is passing my Producer some filter information in their request. For example their URL includes :- /ACCOUNT-LIST?$filter=Id eq '45012' How do I process this in odata4j? From ...
0
votes
1answer
190 views

406 Not acceptable while performing post on ODATA4j

Am a newbie in odata4j concepts. Using odata4j Library odata4j-0.5-nojpabundle.jar launched producer on tomcat using link http://code.google.com/p/odata4j/wiki/Tomcat. My producer is modified to give ...
1
vote
1answer
157 views

How to set cache-control header in odata4j?

I'm writing a RESTful service using odata4j and need to be able to set the caching header of the response. How do I do this? I don't seem to have access to the HttpservletResponse object. And unlike ...
0
votes
1answer
249 views

How to implement paging and caching in OData Java?

I am writing an OData Producer in Java using odata4j. The Producer provides feeds of data from a legacy database. I'm trying to find out how I implement paging and caching in my OData Producer. I ...
0
votes
1answer
88 views

How to return a 404 error from OData Producer?

I have an OData Producer (using odata4j Java). In the getEntities() method I check that the entity name supplied exists in the meta-data document. If the name is not present I want to return a http ...
1
vote
1answer
473 views

How do I request JSON data from a OData service operation using OData4J?

I am trying to query a WCF OData service from Java using the odata4j library. If I query a entity using ATOM format, everything is OK. If I switch to JSON, Java throws following exception: ...
0
votes
1answer
552 views

Enable crossdomain call on a java servlet for Silverlight application

I have a java servlet with the OData4j library and I want to configure it so I can make HTTP POST request from a Silverlight application. My web.xml file looks like this: <servlet> ...

1 2
15 30 50 per page