Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

status error of 405 (Method Not Allowed) when use xsodata for update or delete

$
0
0

Dear Experts,

    I am running on HANA SP11.1.

    When I use xsodata  with create& Read method , the ui5 can be work and return the right result,

    But I am facing issue to use xsodata for Update or Delete and get error message as:

     Failed to load resource: the server responded with a status of 405 (Method Not Allowed)

 

    The Xsodata is actived and Codes likes:

   service  {

   "Schema"."Package::CDS entity" as "test"

          create using "package.procedure::proc_create"

          update using "package.procedure::proc_update"

          delete using "package.procedure::proc_delete";

      };

 

   I  have checked Runtime Configuration details in http://servce:8000/sap/hana/xs  and the PUT&DELETE


  The .xsaccess file likes:

{

     "exposed" : true,     

     "anonymous_connection": { "Schema" : "Anonymous_Access" },          

       "authentication" : {

       "method": "Basic"

     },

   

     "cache_control" : "must-revalidate",

     "cors" :                    

            {

             "enabled" : true,

             "allowMethods": ["GET","POST","DELETE","PUT"],

             "allowOrigin": ["*"],

             "maxAge":"3600"

            },

                   

     "enable_etags" : false,

    "force_ssl" : false,

     "prevent_xsrf" : true

   

}


  Would be thankful, if someone can help me with the code or configuation.

   Any advice is appreciated.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>