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.