parseSOAP {SSOAP}R Documentation

Parse XML message

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

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

fromSOAP


[Package SSOAP version 0.4-6 Index]