17.1.20.SOAP Endpoint Options

The virtual directory mechanism provides a special SOAP options for SOAP processing. The SOAP options are name-value pairs contained in a vector: i.e. vector ('name1', 'value1', ....). The SOAP server accepts the following optional parameters settable in the SOAP Options field of the HTTP Virtual Directories Setup interface, or using the vhost_define() function:

ServiceName : name of the SOAP service, will be prefixed with 'Virtuoso'. That name is shown in WSDL description.
Namespace : namespace URI of the SOAP:Body request and response.
HeaderNS : namespace URI for SOAP:Header messages.
FaultNS : namespace URI for SOAP:Fault messages.
MethodInSoapAction : enable or disable appending of the method name in the soapAction attribute (WSDL) after namespace URI.
CR-escape : enable or disable escaping of the CRs on wire as &#0xd
elementFormDefault=(unqualified|qualified); Sets the elementFormDefault for schema specification. if qualified is used the elementFormDefault attribute will be set to qualified, in which case elements required to be unqualified can be declared with value of "form" attribute "unqualified".
Use=(encoded|literal) Sets the default SOAP message encoding rules for those PL procedures which have no explicit encoding rule assigned (see SOAP special syntax for PL procedures). The default is 'encoded' which means to follow SOAP RPC encoding as described in SOAP v1.1 specification section 5.1. The 'literal' mode forces the SOAP server to expose PL procedures with the document/literal parameter encoding style.
MethodInSoapAction=(no|yes|empty|only); Controls soapAction attribute manipulation. no - only URL for soap requests will be printed. yes (default) - the URL and soap method will be printed in form: <url>#<method name>. empty - no value will be specified for soapAction. only - only the method will be specified in form #<method name>.
DIME-ENC : Controls DIME encapsulation on particular SOAP endpoint, valid values are no - (default) not enabled. yes - DIME encapsulation is enabled on endpoint
WS-SEC : WS-Security processing is enabled on the endpoint, if it's yes , otherwise disabled (default)
WSS-KEY : name of PL procedure, which is supposed to return a key instance, used together with "WS-SEC" option.
WSS-Template : path to the file for making the XML Signature in response message. The "[key reference for signing]" denotes using a default template for signing, see WS Security signing SOAP messages.
WSS-Validate-Signature : This option controls the input behavior, i.e. how to verify the incoming message. Possible values are "0", "1" or "2", where 0 does not verify signatures, 1 expects a signature to exist, 2 will verify signature if one exists.
WS-RP : to enable WS-Routing protocol on particular endpoint, if it's yes , otherwise disabled (default).
wsrp-from : Constant for identification of endpoint, an example is 'some@user.network'. This will be included in 'form' element in WS Routing header.