Questions tagged [olingo]

Apache Olingo provides a client and server framework for the Open Data Protocol (OData). It is implemented in Java and supports OData 2.0 and OData 4.0

About

Apache Olingo provides a client and server framework for the Open Data Protocol (OData). It is implemented in Java and supports OData 2.0. OData 4.0, with a JavaScript client for OData 4.0

See also:

252 questions
0
votes
1 answer

Specifying entity type using Apache Olingo

I am using Apache Olingo v4 java library in my project and it works great. Thanks! I am having issues calling one particular endpoint - https://learn.microsoft.com/en-us/dynamics365/customer-engagement/web-api/merge?view=dynamics-ce-odata-9 ISSUE…
0
votes
0 answers

Is there a limited number of entities returned by Olingo getEntitySetIteratorRequest() method

I am trying to read a set of entities from an odata v4 service using olingo. If I query the entity set from Postman, I get a response listing 51 entities. If I try the same thing in code using olingo, only 35 entities are returned in the…
0
votes
0 answers

Autoexpand option in Olingo Odata Java

It seems that we need to have $expand in the request URL to include the navigationset data in the response. Do we have any option to auto expand the nvaigationset? I can see this option available in Microsoft OData library but could not find any way…
0
votes
1 answer

Register Olingo servlet without web.xml

Is it possible to use the @WebServlet annotation with Olingo? I want to avoid creating the entries in our web.xml: CarServiceServlet
Matthias Günter
  • 617
  • 8
  • 24
0
votes
1 answer

How to create dynamic jpa query?

Is that possible to create a dynamic "where" jpa (persistance layer) query with getting from filtered uı data (Service layer)
0
votes
1 answer

Expose stored procedure using oData service

I need to expose my stored procedure using oData. I have done it using EclipseLink JPA but without odata. Any link to the tutorial or an example will be appreciated.
AbhishekB
  • 2,111
  • 3
  • 18
  • 23
0
votes
1 answer

Does OData v2 support POST of a contained entity?

The OData v4 Advanced Tutorial provides an example of creating a Contained Entity. Create a Contained Entity The request below creates a Trip for Person with UserName 'russellwhyte'. Trips is a contained navigation property for Person. POST…
Justin
  • 6,031
  • 11
  • 48
  • 82
0
votes
1 answer

get Edm from InputStream/String Olingo4

In Olingo 2 I could do this: Edm metadataEdm = EntityProvider.readMetadata(metadataInputStream, false); //metadataInputStream is java.io.InputStream From what I have read in Olingo 4, you can do this: ODataClient client =…
Tintin
  • 2,853
  • 6
  • 42
  • 74
0
votes
2 answers

How do I load an EDMX schema file in Java with OLingo 4?

I have a large edmx schema file that would be very inconvenient to manually re-create, one EntityType at a time, in Java using OLingo. While I'm not opposed to writing a loader of some kind, I wanted to make sure that OLingo 4 doesn't already…
patrickjm
  • 147
  • 1
  • 11
0
votes
2 answers

Can Olingo v2.x and v4.x run side-by-side?

Can Olingo v2.x and v4.x run in the same Java webapp side-by-side? I know some libraries like Jackson 1.x and 2.x support this: a project can depend on both Jackson 1.x and 2.x, without conflicts
Justin
  • 6,031
  • 11
  • 48
  • 82
0
votes
1 answer

Unable to implement Olingo Tutorial example for creating service

I followed the sample provided by Olingo: https://olingo.apache.org/doc/odata4/tutorials/read/tutorial_read.html Maven build was successful, but on running service I got error: java.lang.ClassCastException:…
Armghn
  • 144
  • 2
  • 14
0
votes
1 answer

Set connection timeout to olingo request

I am using olingo client android 4.0.0 library to communicate with my backend which has implemented OData protocol from android client. I want to set request timeout to my olingo request. Also I want to disable retry on connection…
Chetan Ashtivkar
  • 194
  • 2
  • 15
0
votes
1 answer

OData Bad Request 400 with Java Client

I have an issue regarding OData querying with an Java Client. If I use Postman, everything works as expected and I'm receiving a response from the web service with the metadata. But in my Java Client, which runs not on the SCP / HCP I'm receiving…
Tungri
  • 13
  • 4
0
votes
1 answer

Olingo: EntityContainer and EntitySets differences

I'm reading this documentation in order to figure out how to create an odata service. I don't quite figure out what are EntityContainer and EntitySet for... [EDIT] I'd like to ask for a misunderstanding I don't quite figure out yet. If a EntitySet…
Jordi
  • 20,868
  • 39
  • 149
  • 333
0
votes
1 answer

Ignoring Field in Apache Olingo

Currently my Project is using the JPA for the Database Connection. I'm also using the default OdataJPA Processor. How can i achieve not to include certain fields for example ("password") in my odata2 API response. Or do I really have to implement a…
ShuzZzle
  • 192
  • 1
  • 9