[
https://issues.apache.org/jira/browse/OLINGO-1042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15651825#comment-15651825
]
Michael Bolz commented on OLINGO-1042:
--------------------------------------
Hi [~Michele EnergySys],
the {{executeFunctionImport()}} will be invoked for single Entity, ComplexType,
PrimitiveType and Collection of ComplexType or PrimitiveType.
Best Regards, Michael
> FunctionImportProcessor.executeFunctionImport() not invoked during function
> execution
> -------------------------------------------------------------------------------------
>
> Key: OLINGO-1042
> URL: https://issues.apache.org/jira/browse/OLINGO-1042
> Project: Olingo
> Issue Type: Question
> Components: odata2-core
> Affects Versions: V2 2.0.7
> Reporter: M Carissimi
> Assignee: Michael Bolz
>
> Hello
> I have implemented some functions on my OData v2 service and they appear on
> the $metadata as follow
> {code}
> <FunctionImport Name="UserAllowedApplications"
> ReturnType="Collection(myproducer.Application)" EntitySet="Application"
> m:HttpMethod="GET"/>
> {code}
> When I invoke a function using a GET request, the
> EntitySetProcessor.readEntitySet() method ins invoked instead of
> FunctionImportProcessor.executeFunctionImport().
> This seems to be the incorrect behaviour... is there anything that I can do
> to ensure the correct method is invoked?
> Thanks
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)