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
Phrases
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 & Internet
XML
XPATH & XQUERY

Functions Index

BPEL.BPEL.get_partner_links

Returns a list of partner links used in the BPEL script
BPEL.BPEL.get_partner_links (in scp_id int);
Parameters
scp_id – int the ID of BPEL script
Return Types

returns an XML document containing partner links

Description

BPEL.BPEL.get_partner_links The function is used for partner link names retrieval. It returns an XML document containing all partner links.

Examples
Simple example

	  SQL> select BPEL.BPEL.get_partner_links (4);
	  callret
	  VARCHAR
	  _______________________________________________________________________________

	  <n0:partnerLinks xmlns:n0="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
	      <n0:partnerLink name="client" partnerLinkType="tns:LoanFlow" partnerRole="LoanFlowRequester" myRole="LoanFlowProvider"/>

	      <n0:partnerLink name="creditRatingService" partnerLinkType="services:CreditRatingService" partnerRole="CreditRatingServiceProvider"/>

	      <n0:partnerLink name="UnitedLoanService" partnerLinkType="services:LoanService" myRole="LoanServiceRequester" partnerRole="LoanServiceProvider" />

	      <n0:partnerLink name="StarLoanService" partnerLinkType="services:LoanService" myRole="LoanServiceRequester" partnerRole="LoanServiceProvider"/>
	  </n0:partnerLinks>

	  1 Rows. -- 88 msec.