Ramya created OLINGO-1446:
-----------------------------

             Summary: Allow empty parameters for actions and action imports 
when there is no non binding parameter defined
                 Key: OLINGO-1446
                 URL: https://issues.apache.org/jira/browse/OLINGO-1446
             Project: Olingo
          Issue Type: New Feature
          Components: odata4-server
    Affects Versions: (Java) V4 4.7.1
            Reporter: Ramya
            Assignee: Ramya


According to the OData v4 spec, section 11.5.5.1:
4.01 services MUST support invoking actions with no non-binding parameters and 
parameterless action imports both without a request body and with a request 
body representing no parameters, according to the particular format. 
Interoperable clients SHOULD always include a request body, even when invoking 
actions with no non-binding parameters and parameterless action imports.
When action does not have any non binding parameters, the client sends an empty 
request body(AbstractODataInvokeRequest.getPayload()).
Olingo's server part, however, rejects an empty request body (see 
ODataJsonDeserializer.parseJsonTree(InputStream)).




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to