writeInterface             package:SSOAP             R Documentation

_S_e_r_i_a_l_i_z_e _g_e_n_e_r_a_t_e_d _i_n_t_e_r_f_a_c_e _t_o _a _f_i_l_e

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

     This function allows the user to take a programmatically generated
     interface such as  with 'genSOAPClientInterface' and write the
     code to a file for inclusion in an R package or to be source'd
     into a different R session.

     Note that this is not essential. One can 'save' the interface
     generated by   'genSOAPClientInterface' in RDA format and then use
     'load' that into a different R session, potentially on a different
     machine, and the interface will work as is.

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

     writeInterface(iface, file = stdout(), where = globalenv())

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

   iface: the interface object created via a call to
          'genSOAPClientInterface'

    file: the name of the file to which to write the code.

   where: the position or package name used to find the class
          definitions associated with this interface. This is passed to
          'getClass'. 

_D_e_t_a_i_l_s:

     Currently, this has to handle deparseing S4 objects directly.
     Also, it undoes the use of environments within the functions to
     store the "cached" information about the operation and the SOAP
     server location. Instead, it adds these as explicit parameters and
     to the body of the code.

_V_a_l_u_e:

     This function is used for its side effect of writing content in
     the specified 'file'

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

     Duncan Temple Lang

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

     'genSOAPClientInterface' 'processWSDL'

