getReturnNode(SSOAP)
getReturnNode()所属R语言包:SSOAP
Get XML node from SOAP response
从SOAP响应XML节点
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Parse the XML content from the SOAP response and traverse the tree to find the node in the Body element associated with the result of the request. It looks for a node named This attempts to be helpful by taking input in various forms, i.e. text of the body of the HTTP response, header and body in a SOAPHTTPReply object returned form .SOAP, or the root node of a previously parsed XML tree.
解析SOAP响应XML内容和遍历树找到与请求关联的Body元素的节点。它看起来命名这种尝试是有益的节点通过采取各种形式的输入,即文本的HTTP响应的身体,头和身体SOAPHTTPReply对象返回的形式.SOAP,或根以前解析的XML树节点。
用法----------Usage----------
getReturnNode(node, name = "return")
参数----------Arguments----------
参数:node
either an XML node that was obtained from parsing the text of the reply or the SOAPHTTPReply object returned from the .SOAP call which contains the header and body of the HTTP request, or alternatively this can be the text content from the body of the HTTP response.
一个XML节点解析答复的文本或SOAPHTTPReply对象从.SOAP调用其中包含HTTP请求头和身体,或者这可能是文本的内容返回从身体的HTTP响应。
参数:name
the name of the node in the SOAP response that is the container for the content of the response. This is often "return" but can be any legal XML node name and is often given to us in a WSDL.
在SOAP响应,响应的内容是集装箱节点的名称。这通常是"return"但可以是任何合法的XML节点的名称,并经常给我们在WSDL。
值----------Value----------
An XMLNode object.
XMLNode对象。
作者(S)----------Author(s)----------
Duncan Temple Lang
参见----------See Also----------
.SOAP xmlTreeParse
.SOAPxmlTreeParse
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|