# 22. Virtuoso Functions Guide - BPEL.BPEL.wsdl_upload

Chapter Contents | Prev | Next
Keyword Search:
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
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.wsdl_upload

Uploads a WSDL description for a given BPEL script
BPEL.BPEL.wsdl_upload (in scp_id int, in url varchar, in content any, in pl varchar default 'wsdl');
Parameters
scp_id – int the BPEL script identifier
url – varchar the URL to the WSDL description file.
content – any default null the source of the WSDL file, this can be ommitted then the function will try downloading the source from the URL specified
pl – varchar default 'wsdl' the partner which is described by given WSDL. When this is a file describing the process itself the default value MUST be used.
Return Types

this function has no return value

Description

BPEL.BPEL.wsdl_upload uploads a WSDL description for a given partner link. The function if content is not specified this will download the content via the URL specified and will associate it with the specified partner link. Also after download the WSDL will be expanded to resolve includes in WSDL and XMLSchema namespaces.

Examples
Simple example

    	  SQL> BPEL.BPEL.wsdl_upload (1, 'file:/LoanFlow.wsdl', null, 'wsdl');
              Done. -- 10 msec.