You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "reethu (JIRA)" <ji...@apache.org> on 2016/03/30 23:09:25 UTC

[jira] [Created] (OLINGO-923) Unable to Read metadata in JSON Format

reethu created OLINGO-923:
-----------------------------

             Summary: 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
             Fix For: V2 2.0.7


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)