3 Replies Latest reply on Sep 13, 2013 12:34 PM by Ramesh Reddy

    Cannot set different REST methods for the virtual procedure in RESTEasy WAR creation.

    Vivedha Elango Newbie

      Hi all,

      I generated a RESTEasy WAR using Eclipse indigo 4.2.1, teiid designer 7.8,Teiid runtime 7.7.5 and implementing insert,update and select operation refering the links.

      Chapter 11. Web Service Wizards

      After deployment, GET(Select) operation is working fine, while the POST(insert) or PUT(update) operation gives an error

      Status Code: 405 Method Not Allowed

      Allow: GET, OPTIONS, HEAD

      Content-Length: 996

      Content-Type: text/html;charset=utf-8



      description The specified HTTP method is not allowed for the requested resource ()

      When I check the View in the IDE the REST method has been changed to the last updated one(As in the screenshot GET).Even if I try to give different REST methods ie. POST for insert,PUT for Update etc. every rest method is getting changed to either GET or POST or PUT according to my last changes.

      Am I missing something or is it a bug?