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

OData Olingo (API-) wrapper for different systems

Introduction I want to set up a Olingo oData service (2.0, Java). The service has a fixed model defintion in its own package. I also have an User management in Java. When the user sends a request to the Service, the result metadata stays the same…
Matthias Günter
  • 617
  • 8
  • 24
0
votes
1 answer

Apache Camel-Oling2 read endpoint is not working

I am using Apache Camel and trying to read Odata using Camel-Olingo2 component but i got "serviceUri" error everytime. I've tried documentation implementation but couldn't find any success. Please do let me know the way of connectivity with odata…
0
votes
1 answer

Apache Olingo 4.2 API throwing java.lang.IllegalArgumentException

I am trying to use apache Olingo 4.2 client API to access Microsoft CRM OData services which supports OData 4.0 . I am able to authentication api with Microsoft CRM by providing OAuth credentials , but while parsing the response EDMX document , API…
prashant
  • 39
  • 5
0
votes
0 answers

Join Column in JPA is always inserted/updated as null

I've created a simple DB in MYSQL: Database Model I've also created the JPA entities based on this and exposed it using Olingo v2. When I try to create a client entity through postman it works fine { "Name": "John Doe" } however when I try to…
0
votes
0 answers

Special character in odata GET call using Olingo Client

I am using Olingo 4.2 java library to call my OData services. I am making and odata GET call and have a special character in my parameter like www.example.com/service/People('abc}def{ghi').When i encode and make an OData call using Olingo client, I…
hardcoder
  • 184
  • 2
  • 14
0
votes
2 answers

How to get the referenced Entity from updateReference request in Olingo ReferenceProcessor?

I'm developing a REST service Odata V4.0 compliant. For that purpose, I'm using Apache Olingo v4.2.0 and I need to implement some relationship operations. In order to implement that feature, I implement ReferenceProcessor interface: package…
hecnabae
  • 407
  • 4
  • 21
0
votes
0 answers

Dotnet Odata client for an Olingo Odata V4 service

I'm developing a Dotnet client application (CSharp) for an OData service. The OData service (V4) is implemented in Java with Apache 4.2.0 Olingo library. On the client side, the proxy classes were created with "Connected OData Service". I'm trying…
Diego Cairone
  • 93
  • 4
  • 10
0
votes
1 answer

Apache Olingo4 ExpressionVisitor

How to pass a raw expression to ExpressionVisitor implementation of Odata4 using olingo4. This is how it was done in olingo2 JDBC Visitor Filter String rawExpression = "'a' eq 'b' or ('c' eq 'd' and 'b' eq 'd')"; FilterExpression expression =…
Tirtha
  • 145
  • 2
  • 17
0
votes
1 answer

Trying to connect to datamarket returns exception

I'm trying to connect to Azure data market, it's an odata repository. I'm using the latest Olingo library, r4.2.0. The following code : String serviceUrl = "https://api.datamarket.azure.com/DataGovUK/MetOfficeWeatherOpenData/v1/"; ODataClient…
ic3
  • 7,917
  • 14
  • 67
  • 115
0
votes
1 answer

Any OData filter operator/function for: where property in list of values?

How can this SQL be written in OData? select * from Employees where department in ('Engineering', 'Human Resources', 'Management'); I wonder if there is some operator/function for that. Something like this: /Employees?$filter=department in ('x',…
MoneerOmar
  • 205
  • 2
  • 4
  • 18
0
votes
1 answer

Understanding odata.streaming header

I went through the OData V4 specification for understanding odata.streaming header. My doubts are: Is this header only to determine whether the client should receive chunked responses or is it more than that? I see a new property called Edm.Stream…
muchumanoj
  • 125
  • 1
  • 8
0
votes
1 answer

Defining Navigation Property of an Entity in Olingo

Basically I am trying to map an existing framework to Entity Concept in OData with Apache Olingo Library. I have searched like everywhere but I am unable to see how to define a Navigation Property of an Entity Type. Any Help would be appreciated.
codestreak
  • 149
  • 12
0
votes
0 answers

Got Breeze.js working wth odata4 and olingo?

the apache olingo javascript library is out of beta and has been released. So using odata 4 with breeze could be possible already. I didn't find any news on the internet. I'd like to get it working in an angularjs application.
kjartan
  • 19
  • 2
0
votes
1 answer

Java OData Service does not accept plus (+) signs in URI

I am trying to issue the following query using Apache Olingo for OData using Java: URI customersUri = client.newURIBuilder(serviceRoot) .appendEntitySetSegment("Customers") .filter("CustomerID eq 'Joe'") .build(); The…
user3423878
  • 51
  • 2
  • 8
0
votes
1 answer

Navigation links are not returned when using JSON for OData (using Apache Olingo for Java)

when using the below code using XML it works perfectly, that is, the navigation links are returned successfully. However, when I change the format to "json" or "application/json", the links2 navigation links list is empty, meaning that…
user3423878
  • 51
  • 2
  • 8