[OASIS Issue Tracker] Updated: (ODATA-374) Returning heterogeneous types for a function call

From
OASIS Issues Tracker <>
Date
2013-05-16T06:31:54+00:00
ID
265990283.10771368685903392.JavaMail.tomcat55@mw00
Thread
[OASIS Issue Tracker] Updated: (ODATA-374) Returning heterogeneous types for a function call
[ http://tools.oasis-open.org/issues/browse/ODATA-374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Pizzo updated ODATA-374:
--------------------------------

       Proposal: I believe that, as described by Ralf, the Edm.EntityType and Edm.ComplexType types we added in V4 address this requirement and we can close with no action.
    Environment: [Proposed]
       Assignee: Anila Kumar GVN

Anila; please let us know if Ralf description does not address your concerns.

> Returning heterogeneous types for a function call
> -------------------------------------------------
>
>                 Key: ODATA-374
>                 URL: http://tools.oasis-open.org/issues/browse/ODATA-374
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: New Feature
>          Components: OData CSDL, OData Protocol 
>         Environment: [Proposed]
>            Reporter: Anila Kumar GVN
>            Assignee: Anila Kumar GVN
>
> It is not clear if OData enables a service to return a collection of heterogenous entity/complex types as a response to a function call. 
> I want to return a collection of types in response to a function call but each of the items in the collection could belong to different entity types.
> Example:
> /OData.svc/GetCreatedEntities?before=xxxx-xx-xx&after=xxxx-xx-xx
> here GetCreatedEntities is a function call on my product that return a collection of entities that are Created in a given time period. Return Type is a Collection Type that could contain a Customer type, Order type etc.
> Is it supported in OData? 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira