Top

Name

BPEL.BPEL.import_script — Import a new BPEL process

Synopsis

BPEL.BPEL.import_script ( in base_uri varchar ,
  in base_name varchar ,
  in scp_id int );
 

Parameters

base_uri

varchar the URL to the bpel.xml which contains information for bpel and wsdl for process and its partnerlinks wsdl's urls.

base_name

varchar a human readable name for process

scp_id

int id of the process.

Description

BPEL.BPEL.import_script imports a new BPEL process or refetches the content of bpel, wsdl files and wsdl for partner links for a given process. In both cases the process is turned to mode "Edit". Urls of wsdl files must have absolute paths.

Examples

Example 24.652. Simple example

          SQL>create procedure echo_import ()
             {
              declare scp int;
              BPEL.BPEL.import_script ('file:/echo/bpel.xml', 'Echo', scp);
             }
            ;

	  SQL> echo_import ();
          Done. -- 10 msec.