[
https://issues.apache.org/jira/browse/OLINGO-241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Amend closed OLINGO-241.
----------------------------------
> API is missing to expose the entity in the OdataResponse
> ---------------------------------------------------------
>
> Key: OLINGO-241
> URL: https://issues.apache.org/jira/browse/OLINGO-241
> Project: Olingo
> Issue Type: Bug
> Components: odata2-core
> Affects Versions: V2 1.2.0
> Environment: Windows 7 OS , Java 1.6 64bit
> Reporter: joy Bhattacharjee
> Assignee: Stephan Klevenz
> Fix For: V2 2.0.0
>
>
> Hi ,
> I would like to use Olingo’s parsing capability to render an EDM as an
> XML file . To achieve the same I am using writeMetadata(List<Schema>,
> Map<String, String>) which returns OdataResponse , but currently the Olingo
> Framework provides no APIs to render the contents of the OdataResponse as XML
> into a file.So only option I have at present which I came to know from
> Olingo FAQ , is to call the getEntity() method of the OdataResponse and type
> cast it as InputStream and then render the contents into a file . Can a
> wrapper be provided by Olingo Framework so that the consumer of Olingo's
> framework can avoid the necessary type casting ?
> Regards,
> Joy
--
This message was sent by Atlassian JIRA
(v6.2#6252)