[ 
https://issues.apache.org/jira/browse/OLINGO-849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Amend updated OLINGO-849:
-----------------------------------
    Attachment: Protocol_OData20.pdf

Hi Sounak,

I usually use the odata.org website but the link to the original pdf is broken 
there so I attached the pdf to this issue. 

The relevant part is the section 2.2.3.6.3 Service Operation Parameters:
"Service Operations represent the FunctionImports, as specified in [MC-CSDL], 
which accept only Primitive type input parameters defined in the Entity Data 
Model (EDM)..."

I hope this helps.

Best Regards,
Christian

> Function Import Parameter type restricted to EDM Simple Types
> -------------------------------------------------------------
>
>                 Key: OLINGO-849
>                 URL: https://issues.apache.org/jira/browse/OLINGO-849
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-core
>    Affects Versions: V2 2.0.0
>            Reporter: Sounak Basu
>            Assignee: Christian Amend
>            Priority: Critical
>         Attachments: Protocol_OData20.pdf
>
>
> Hello,
> As per OData specification,
> Link - https://msdn.microsoft.com/en-us/library/dd541191.aspx  .
> • The Type of the Parameter MUST be defined. Type MUST be a scalar type, a 
> ComplexType, an EntityType, a collection of scalar type, a collection of 
> ComplexType, or a collection of EntityType.
> • Parameter can define the Mode of the parameter. Possible values are "In", 
> "Out", and "InOut".
> But the Olingo version 2.0 throws an errors for OData services which has 
> function import parameter other than EDM Simple Type.
> Also the OData validator - 
> http://services.odata.org/validation/validation.htm, successfully validates 
> function imports which has parameter types other than EDM Simple Type.
> Kindly suggest a solution for the same.
> Best Regards,
> Sounak Basu



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to