xmlRPCResult              package:SSOAP              R Documentation

_P_r_o_c_e_s_s _r_e_s_u_l_t _f_r_o_m _X_M_L-_R_P_C _r_e_q_u_e_s_t

_D_e_s_c_r_i_p_t_i_o_n:

     This function is used to process the response from a method
     invocation via XML-RPC to a remote server. This converts the
     result contained in the XML response into either a regular R value
     or a 'XMLRPCError' object which contains a diagnostic error
     message and error code.

     'xmlRPCHandlers' is a collection of XML-to-R converters for
     processing the XML nodes in the method response into the
     corresponding R values. One can call this function and then
     replace individual entries with one's own specialized methods.

_U_s_a_g_e:

     xmlRPCResult(txt, handlers = xmlRPCHandlers(call), simplify = TRUE, call = sys.call())
     xmlRPCHandlers(call)

_A_r_g_u_m_e_n_t_s:

     txt: the XML content returned from the method invocation.

handlers: a

simplify: a logical value indicating whether to simplify the result
          when it is a list of length 1, i.e. to return just the child
          element.  This is convenient for interactive use, but
          ensuring that one gets back a predictable type for the result
          is more useful in programmatic use.

    call: the R command/expression associated with the XML-RPC request
          so that this can be added to the 'XMLRPCError' if an
          exception is raised by the server. This is typically not
          specified by the caller, but the default value works
          appropriately.

_A_u_t_h_o_r(_s):

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

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://www.omegahat.org/SSOAP> <URL:
     http://www.xmlrpc.com/spec>

_S_e_e _A_l_s_o:

     '.XMLRPC' 'xmlTreeParse'

