www.openlinksw.com
docs.openlinksw.com

Book Home

Contents
Preface

Virtuoso Functions Guide

Administration
Aggregate Functions
Array Manipulation
BPEL APIs
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
http_body_read
soap_box_structure
soap_box_xml_entity
soap_call
soap_client
soap_current_url
soap_dt_define
soap_make_error
soap_print_box
soap_sdl
soap_server
soap_wsdl
soap_wsdl_import
wst_cli
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

soap_server

Execute SOAP request and return XML reply as a varchar.
varchar soap_server (in req_xml any, [in soap_method varchar], [in lines any], [in soap_version long], [in procedure_mappings any]);
Description

This function executes the SOAP request in the same way as it it was directed to the /SOAP physical path. It returns the XML SOAP reply as a varchar value.

Parameters
req_xml – Required. The XML entity of the SOAP request to execute.
soap_method – Optional(default ""). The "SOAPAction" header field value
lines – Optional(default NULL). The Request header fields (the lines parameter to the VSPs for HTTP)
soap_version – Optional(default 11). The SOAP version (11 for SOAP 1.1 and 1 for SOAP 1.0)
procedure_mappings – Optional(default NULL). A vector of pairs (<SOAP_method>, <PL procedure>) mapping the SOAP call request to the corresponding PL function name. If empty, then the mapping proceeds by taking the local name of the SOAP method and finding a procedure with the same name in the executing user's current qualifier and owner. If a string is supplied then this string is considered as a PL module name. Mapping takes place from the local name of the SOAP call to a PL procedure inside the module. Virtuoso matches procedure names in case-sensitive fashion.
Return Types

Returns the XML SOAP reply as a varchar value.