Hi Everyone,
I have created an stored procedure and I'm trying to consume this store procedure from xsodata service.
But unable to activate the service because of an error.
Invalid procedure or parameter list in procedure "package.WebContent.src.hana.procedures::PROCEDURE
I have activated both store procedure as well as attribute view.
Here is my stored procedure.
PROCEDURE "SCHEMA"."package.WebContent.src.hana.procedures::PROCEDURE" (
IN row "SCHEMA"."package.tables::object" )
LANGUAGE SQLSCRIPT
SQL SECURITY INVOKER AS
--DEFAULT SCHEMA <default_schema_name>
--READS SQL DATA AS
BEGIN
/*****************************
Write your procedure logic
*****************************/
declare shortdesc string;
SELECT SHORT_DESCRIPTION INTO shortdesc FROM :row;
END;
Service:
service namespace "package.WebContent.src.hana.service"{
"package/OBJECT.attributeview" as "OBJECTS"
key ("OBJECT_ID")
create using "package.WebContent.src.hana.procedures::PROCEDURE";
}
Is there anything wrong in the way i'm calling the procedure??