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

Ramesh Reddy commented on OLINGO-923:
-------------------------------------

There is no JSON based metadata in V2 specification. V4 there is JSON based 
metdata specification, but it is not public draft yet, and Olingo does not 
support it.

> Unable to Read metadata in JSON Format
> --------------------------------------
>
>                 Key: OLINGO-923
>                 URL: https://issues.apache.org/jira/browse/OLINGO-923
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-core
>    Affects Versions: V2 2.0.6
>         Environment: WINDOWS 8 
>            Reporter: reethu
>            Priority: Blocker
>              Labels: newbie
>             Fix For: V2 2.0.7
>
>   Original Estimate: 1,032h
>  Remaining Estimate: 1,032h
>
> Hi All ,
> The description of issue is as below : 
> Component : Olingo-odata2-api-2.0.6-SNAPSHOT.jar
> Operation: Read (de-serialize) data from metadata i.e inputStream and provide 
> Edm 
> Issue: Unable to read metadata when the format of InputStream is "JSON" .
> Below exception is encountered:
> Exception in thread "main" 
> org.apache.olingo.odata2.api.ep.EntityProviderException: An exception of type 
> 'XMLStreamException' occurred.
> at 
> org.apache.olingo.odata2.core.ep.consumer.XmlMetadataConsumer.readMetadata(XmlMetadataConsumer.java:122)
> Is there any other method in Olingo that can read metadata InputStream in 
> "JSON" format?



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

Reply via email to