You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael Bolz (JIRA)" <ji...@apache.org> on 2014/07/30 07:52:38 UTC

[jira] [Commented] (OLINGO-389) request dispatcher does not allow the HTTP method used for the request

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

Michael Bolz commented on OLINGO-389:
-------------------------------------

Hi [~gardelini],

{{PUT}} and {{POST}} requests are not prohibited by the request dispatcher in general.
But those request are only allowed on specific resources (e.g. {{POST}} on an {{EntitySet}} to create an according {{Entity}}.
For full information about allowed HTTP methods on specific URIs you can take a look into [OData Version 2 Dokumentation - Section 2: Operations|http://www.odata.org/documentation/odata-version-2-0/operations#Operations].

Back to your case, can you please write on what kind of URL do you try to do a {{POST}} / {{PUT}} request?

Kind regards,
Michael

> request dispatcher does not allow the HTTP method used for the request
> ----------------------------------------------------------------------
>
>                 Key: OLINGO-389
>                 URL: https://issues.apache.org/jira/browse/OLINGO-389
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-jpa
>    Affects Versions: V2 2.0.0
>         Environment: Windows Server 2012, Apache Tomcat
>            Reporter: Rudy Gardelein
>
> When implementing an ODATA producer with Olingo V2 2.0.0, all get operations are working fine.  However, when trying PUT or POST operations, I am getting the following error message:
> The request dispatcher does not allow the HTTP method used for the request
> Any clue what I should do to make the request dispatcher allow http update methods?
> Thanks,
> Gardelini



--
This message was sent by Atlassian JIRA
(v6.2#6252)