SOAPHandlers: Get SOAP function handlers

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/SOAP.S

Description

This returns a collection of functions that are used by the .SOAP function to control exactly how the HTTP request and SOAP message is created and how the result is processed. Values are merged with the values from .SOAPDefaultNameSpaces.

This is a convenient mechanism for specifying the collection of functions to use to parameterize the different aspects of the SOAP mechanism in S.

Usage

1
SOAPHandlers(..., include = character(0), exclude = character(0))

Arguments

...

name=function pairs giving values to be returned in the list of functions. These override corresponding elements in .SOAPDefaultNameSpaces.

include

a character vector giving the names of the elements to include. This is used to identify (a few) elements that are to be kept from the defaults identified by version.

exclude

a character vector giving the names of the elements to discard. This is usually deployed when we want to keep a large number of elements and it is more convenient to explicitly exclude some.

Value

A named list of functions. The names correspond to the different elements that are accessed by the .SOAP function. Currently, these are

action

convert the user-specified SOAPAction to the target one. By default, this appends #methodName to the user's value. This takes four arguments: the user's action, the name of the method, the SOAP server object and the vector of request-specific namespaces (i.e. the xmlns argument for .SOAP.

Author(s)

Duncan Temple Lang <duncan@wald.ucdavis.edu>

References

http://www.w3.org/TR/SOAP/ http://www.omegahat.org/SSOAP,

See Also

SOAPNameSpaces .merge

Examples

1
2
3
4
 SOAPHandlers()
 SOAPHandlers(action = function(action, method, server, xmlns) action)

 SOAPHandlers(exclude="action")

sckott/SSOAP documentation built on Sept. 16, 2020, 5:49 p.m.