this function has no return value
BPEL.BPEL.compile_script is used to compile BPEL script identified by scp_id and link to it all WSDL definitions have been associated to it.
The following will compile a BPEL script with identifier equals to 1
SQL> create procedure echo_deploy ()
{
declare scp int;
BPEL.BPEL.import_script ('file:/echo/bpel.xml', 'Echo', scp);
BPEL.BPEL.compile_script (scp, '/Echo');
};
Done. -- 0 msec.
SQL> echo_deploy ();
Done. -- 2303 msec.