6 Replies Latest reply on Feb 19, 2013 3:33 AM by luca gioppo

    Cannot find "Enable REST for procedures" option.

    Daniel Susín Newbie

      Hello,

       

      I'm trying to generate a RESTEasy WAR following the user's guide. I created a get procedure that returns a result as a XMLLiteral, it very simple, a select * from a table in fact, but when I go to the context menu to find the option "Modelling -> Enable REST for procedures" in order to edit the additional properties, the option is nowhere to be found.

       

      The procedure code is as simple as:

       

      CREATE VIRTUAL PROCEDURE
      BEGIN
                SELECT XMLELEMENT(NAME offices, XMLAGG(XMLELEMENT(NAME office, XMLFOREST(OFF_NAME, OFF_CITY)))) AS result FROM OFFICES_VIEW.OFFICES_TABLE;
      END
      

       

      Can anyone help me?

       

      Thanks!