Florent Albert created OLINGO-1579:
--------------------------------------

             Summary: Bound Actions do not work with content-type=XML
                 Key: OLINGO-1579
                 URL: https://issues.apache.org/jira/browse/OLINGO-1579
             Project: Olingo
          Issue Type: Bug
          Components: odata4-server
    Affects Versions: (Java) V4 4.9.0
            Reporter: Florent Albert


Invoking a Bound Action with the request body set as XML fails with HTTP 400 
and the following message: {color:#000000}The parameter 
'<binding_parameter_name>' must not be null.{color}

{color:#000000}This is caused by 
_org.apache.olingo.server.core.deserializer.xml.ODataXmlDeserializer.actionParameters(InputStream,
 EdmAction)_ which checks all the parameters in the EDM (including binding 
param) against the request body.{color}

{color:#000000}The logic is different from the JSON Deserializer which performs 
that check in createParameter(). {color}

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to