parseSOAP: Parse XML message

Description Usage Arguments Value Author(s) References See Also

View source: R/parseSOAP.S

Description

This is a convenience function to parse the SOAP message returned from a server and retrieve the payload of the message as an XML tree in S.

Usage

1
2
parseSOAP(xmlSource, header = FALSE, reduce = TRUE, ...,
          fullNamespaceInfo = TRUE)

Arguments

xmlSource

an string giving the name of an file or URL containing the XML content, or a string containing the XML content itself.

header

ignored

reduce

a logical value indicating whether to return the top-most XML node of the Body or to return the entire XML tree read from xmlSource. If this is true, we find the Body node and return its first child.

...

arguments that are passed directly to xmlTreeParse without being processed by this function.

fullNamespaceInfo

a logical value that is passed on to xmlTreeParse when parsing the SOAP response This controls how the namespace information on each XML node is represented, with TRUE causing the prefix and URI to be included rather than just the prefix.

Value

An XMLNode object.

Author(s)

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

References

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

See Also

fromXML


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