olingo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barış Arslan (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OLINGO-1115) ComplexTypes usage in Olingo 4.3.0
Date Tue, 02 May 2017 15:20:04 GMT

    [ https://issues.apache.org/jira/browse/OLINGO-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15993072#comment-15993072
] 

Barış Arslan commented on OLINGO-1115:
--------------------------------------

I have found the problem. We have to override getComplexType method to get complex types.
I used my internal method to get complex types. You can see in example getBinType. Therefore,
olingo library could not find the related complex types during processing.

> ComplexTypes usage in Olingo 4.3.0
> ----------------------------------
>
>                 Key: OLINGO-1115
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1115
>             Project: Olingo
>          Issue Type: Question
>          Components: odata4-server
>    Affects Versions: (Java) V4 4.3.0
>         Environment: Eclipse Java
>            Reporter: Barış Arslan
>              Labels: documentation, features
>             Fix For: (Java) V4 4.3.0
>
>         Attachments: RimEdmProvider.java, RimEntityCollectionProcessor.java, RimServlet.java
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Hi,
> I am trying to use olingo java 4.3.0. However when I create a complex type in an entity,
in process class to fill the related data, it causes an error.
> <error xmlns="http://docs.oasis-open.org/odata/ns/metadata">
> <code>null</code>
> <message>Cannot find type with name: com.ittr.rim.Bin</message>
> </error>
> The metadata is okay. I can see my types and properties in metadata. There is no problem
with metadata. However for processing class there is a problem with complex types.
> I could not find the complex type example in original olingo odata v4.0 documentation
in here.
> https://olingo.apache.org/doc/odata4/index.html
> I follow this answer to use complex type usage;
> http://stackoverflow.com/questions/28916364/how-to-create-a-complex-type-collection-in-olingo



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message