[
https://issues.apache.org/jira/browse/OLINGO-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Bolz closed OLINGO-352.
-------------------------------
Hi Vincenzo,
to read the response of a Function Import you can use the
“EntityProvider.readFunctionImport(..)” for Entries and Properties.
For EntitySets (Feeds) you have to use the “EntityProvider.readFeed(..)” method.
Those methods are available with release of 2.0.1 which should be done this
friday [1].
Kind regards,
Michael
[1]: http://mail-archives.apache.org/mod_mbox/olingo-dev/201411.mbox/browser
> Olingo Client - Calling a FunctionImport
> ----------------------------------------
>
> Key: OLINGO-352
> URL: https://issues.apache.org/jira/browse/OLINGO-352
> Project: Olingo
> Issue Type: Question
> Components: odata2-core
> Affects Versions: V2 1.2.0, V2 2.0.0
> Reporter: Simon Carroll
> Assignee: Christian Amend
> Fix For: V2 2.0.1
>
>
> Are there any client examples of calling a FunctionImport and parsing the
> response? I have looked at the client tutorial and there are no examples of
> this provided.
> In the scenario I am looking at, the FunctionImport returns a ComplexType or
> a collection of ComplexTypes. I am able to call the FunctionImport correctly
> but do not know how to parse the response into Java objects.
> I have looked at the EntityProvider class and there doesn't appear to be any
> read methods which would parse the response.
> Any help with this would be greatly appreciated.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)