www.openlinksw.com
docs.openlinksw.com

Book Home

Contents
Preface

Virtuoso Functions Guide

Administration
Aggregate Functions
Array Manipulation
BPEL APIs
bpel.bpel.compile_sc...
bpel.bpel.copy_scrip...
bpel.bpel.getvariabl...
bpel.bpel.get_partne...
bpel.bpel.import_scr...
bpel.bpel.instance_d...
bpel.bpel.plink_get_...
bpel.bpel.plink_set_...
bpel.bpel.purge_inst...
bpel.bpel.script_del...
bpel.bpel.script_obs...
bpel.bpel.script_sou...
bpel.bpel.script_upl...
bpel.bpel.setvariabl...
bpel.bpel.wsdl_uploa...
Backup
Compression
Cursor
Date & Time Manipulation
Debug
Dictionary Manipulation
Encoding & Decoding
File Manipulation
Free Text
Hashing / Cryptographic
LDAP
Locale
Mail
Miscellaneous
Number
RDF data
Remote SQL Data Source
Replication
SOAP
SQL
String
Transaction
Type Mapping
UDDI
User Defined Types & The CLR
Virtuoso Java PL API
Virtuoso Server Extension Interface (VSEI)
Web Server & Internet
XML
XPATH & XQUERY

Functions Index

BPEL.BPEL.import_script

Import a new BPEL process
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
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.