You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Sounak Basu (JIRA)" <ji...@apache.org> on 2016/01/18 13:42:39 UTC

[jira] [Created] (OLINGO-849) Function Import Parameter type restricted to EDM Simple Types

Sounak Basu created OLINGO-849:
----------------------------------

             Summary: 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
            Priority: Critical


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)