You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Gayathri Ramachandran (JIRA)" <ji...@apache.org> on 2017/09/01 05:44:00 UTC

[jira] [Created] (OLINGO-1175) Unable to Read metadata

Gayathri Ramachandran created OLINGO-1175:
---------------------------------------------

             Summary: Unable to Read metadata
                 Key: OLINGO-1175
                 URL: https://issues.apache.org/jira/browse/OLINGO-1175
             Project: Olingo
          Issue Type: Bug
          Components: odata2-core
    Affects Versions: V2 2.0.6
         Environment: WINDOWS 8 
            Reporter: Gayathri Ramachandran
            Priority: Blocker


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.4.14#64029)