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
13
votes
1 answer

Olingo - Create strongly typed POJOs for client library of OData service

I'm using Apache Olingo as an OData client for a Java SDK that I will provide for a RESTful OData API. In the SDK I want to be able to have strongly typed classes to represent the OData entities. I'm having trouble implementing this easily and thus…
Anthony Elliott
  • 2,941
  • 5
  • 29
  • 42
10
votes
0 answers

Apache Olingo(Java OData) Swagger API framework integration

I have a webapp in Tomcat which exposes OData endpoints through Apache Olingo. I have searched the web with keywords such as swagger, olingo, integration but have not found any answer. There are some information aboout .NET OData Swagger integration…
bufferCanary
  • 103
  • 6
8
votes
2 answers

How can I consume an OData4 service in Java using either Olingo or the SDL OData Framework

I need to consume an OData4 service from Java and based on the list of frameworks on the OData website the two choices are Olingo or the SDL Odata Framework. My problem is that the documentation for both of these projects are focused on writing a…
Jon Freedman
  • 9,469
  • 4
  • 39
  • 58
6
votes
1 answer

Transfer Odata query to SQL statement java

I've been reading through the Olingo v4 server tutorials and all I have seen is examples with hard coded data. Are there any examples of using the v4 code with some type of sql backend. From what I've read JPA is not an option yet in v4. Is the…
Radford7821
  • 335
  • 3
  • 11
5
votes
1 answer

How to make an HTTP authenticated service call with Olingo (Odata)

I have a webservice to access that is protected by basic HTTP authentification. How do I set up the ODataClient to send the authentication to the web service? ODataClient client = ODataClientFactory.getClient(); String iCrmServiceRoot =…
cw24
  • 1,613
  • 2
  • 22
  • 31
5
votes
2 answers

How do I include a full metadata URI in Olingo OData Service Document?

I created a sample OData service by following the steps outlined at the Apache Lingo tutorial. The default Service Document received by the client is: { "@odata.context" : "$metadata", "value" : [ { "name" : "Products", "url" :…
dgdev
  • 51
  • 4
5
votes
1 answer

How to implement filter and pagination in apache olingo v4 web service

I am new to apache olingo web service. I struck for the past two weeks to implement filter and pagination to my service.I am using latest olingo version 4. I google it and looked many blogs but there is no clear explanation. Kindly help me with…
5
votes
2 answers

Odata with Olingo or Odata4j

I'm in over my head. At the broadest level, I'm trying to expose an Odata interface to an existing pool of data exposed by a service written using Mule. When my Mule service is invoked, if I detect that the URL is Odata format, I want to delegate…
TomD
  • 108
  • 1
  • 6
4
votes
1 answer

Bi-directional navigation in OData V4

* I will accept the answer with bounty if it just solves my problem (if you don't have a detailed canonical solution) * When i try to access the metadata from browser (http://......Service.svc/$metadata), I see below error. 500 Cannot find…
Gana
  • 482
  • 3
  • 11
  • 32
4
votes
1 answer

Olingo Odata v4 - Generate types,sets and metadata from models

I am working with JAVA + Olingo Odata v4 library and I was wondering if there is an easier way to "generate" entity types / entities / entitysets using annotations as it used to be the case as in v2 of the same library. In my opinion manually…
Alex
  • 389
  • 1
  • 2
  • 14
4
votes
0 answers

Olingo Odata v2 Client Ignore metadata changes

I'vve problems with the Olingo Odata v2 Client library. We save the metadata file in our backend and read it from there instead of getting it every time from server because of performance. But if server changes the structure of data (e.g. adding a…
guerilla
  • 405
  • 1
  • 4
  • 12
4
votes
1 answer

How to create a bounded action in Olingo V4 (java)

I have tried looking everywhere but couldn't figure out how to implement bounded actions in olingo V4 java. Everywhere unbounded action tutorial is given. I tried tweaking this code. final CsdlAction action = new CsdlAction(); …
codestreak
  • 149
  • 12
4
votes
0 answers

Olingo OData v4 with JAXRS 2.0

It's not clear to me whether Olingo OData v4 implementation is ready to use with JAX-RS 2.0. I've developed a JAX-RS 2.0 REST Api, and from now on, I'd like to provide OData with it. As far I've been able to figure out, there are two ways to…
Jordi
  • 20,868
  • 39
  • 149
  • 333
4
votes
1 answer

android lint - InvalidPackage errors when using apache odata-client-android

I want to use the apache olingo odata library in an android project. Since apache offers a specific build for android, i put this one as a dependency to my build.gradle file. compile 'org.apache.olingo:odata-client-android:4.0.0' When building the…
sebhaub
  • 714
  • 6
  • 16
4
votes
2 answers

how to create a complex type collection in olingo

I try to follow below document of olingo to create a odata service. AnnotationProcessor But I fail to create a entity with property whose type is a List of ComplexType. Anyone has an example of it. Or is it just not supported ?
goodier
  • 395
  • 6
  • 18
1
2 3
16 17