You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Chandan V.A (JIRA)" <ji...@apache.org> on 2015/02/17 08:33:11 UTC

[jira] [Commented] (OLINGO-378) PUT operation on navigation link

    [ https://issues.apache.org/jira/browse/OLINGO-378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14323779#comment-14323779 ] 

Chandan V.A commented on OLINGO-378:
------------------------------------

Hello Christian,
The org.apache.olingo.odata2.core.Dispatcher at Line 151 throws this error, when we try to do an HTTP PUT operation on 1..N navigation property.

Can you please check.

Thanks
Kind regards
Chandan

> PUT operation on navigation link
> --------------------------------
>
>                 Key: OLINGO-378
>                 URL: https://issues.apache.org/jira/browse/OLINGO-378
>             Project: Olingo
>          Issue Type: New Feature
>          Components: odata2-jpa
>    Affects Versions: V2 2.0.0
>            Reporter: Chitresh Chauhan
>            Assignee: Christian Amend
>            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.3.4#6332)