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

Thierry Templier commented on OLINGO-563:
-----------------------------------------

Hi Christian and Ramesh,

Thanks for the hint Christian! I used odata.metadata=minimal...

You're right, Ramesh. I try to change it into odata.metadata=full and I have 
the following exception:

org.apache.olingo.client.api.communication.ODataClientErrorException: The 
content-type range '[application/json;odata.metadata=full]' is not supported. 
[HTTP/1.1 406 Not Acceptable]
        at 
org.apache.olingo.client.core.communication.header.ODataErrorResponseChecker.checkResponse(ODataErrorResponseChecker.java:74)
        at 
org.apache.olingo.client.core.communication.request.AbstractRequest.checkResponse(AbstractRequest.java:54)
        at 
org.apache.olingo.client.core.communication.request.AbstractODataRequest.doExecute(AbstractODataRequest.java:324)
        at 
org.apache.olingo.client.core.communication.request.retrieve.ODataEntitySetIteratorRequestImpl.execute(ODataEntitySetIteratorRequestImpl.java:59)
        at 
org.apache.olingo.client.core.communication.request.retrieve.AbstractODataRetrieveRequest.execute(AbstractODataRetrieveRequest.java:1)

Is it something normal?

Thierry

> Problem with navigation links in serializer
> -------------------------------------------
>
>                 Key: OLINGO-563
>                 URL: https://issues.apache.org/jira/browse/OLINGO-563
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-server
>    Affects Versions: (Java) V4 4.0.0-beta-02
>            Reporter: Thierry Templier
>            Assignee: Christian Amend
>
> I have a problem when trying to return navigation links to the client. In 
> fact they are only serialized if they are expanded. We also shoud be able to 
> serialize links to a single entity or a collection of entities. See 
> ODataJsonSerializer#writeNavigationProperties
> If this issue isn't in progress, I can work on a patch for this.
> Thierry



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to