Chitresh Chauhan created OLINGO-378:
---------------------------------------
Summary: PUT operation on navigation link
Key: OLINGO-378
URL: https://issues.apache.org/jira/browse/OLINGO-378
Project: Olingo
Issue Type: Bug
Components: odata2-jpa
Affects Versions: V2 2.0.0
Reporter: Chitresh Chauhan
Priority: Minor
Hi,
1. do a read operation on a sales order item for a sales order header
and use it as the request body for update operation. Make the required
changes in the request body.
2. Do a PUT operation with the request body as created above"
Describe the problem
Sent PUT to update the following child entity as requested:
https://localhost:8083/gateway/odata/SAP/ESPMSERVICE;v=1/SalesOrderHeade
rs('18')/SalesOrderItemDetails(ItemNumber=1801,SalesOrderId='18')
Expected Result:
"The sales order line item shall get updated under the sales order
header. User shall get the http response code as 204."
Instead returned the following error:
400 BAD REQUEST
<error
xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<code />
<message xml:lang="en-US">The request is not supported by the
processor.</message>
</error> .
Is it possible to get this supported.
Thanks.
BR,
Chitresh
--
This message was sent by Atlassian JIRA
(v6.2#6252)