SOAPNameSpaces             package:SSOAP             R Documentation

_G_e_t _S_O_A_P _n_a_m_e_s_p_a_c_e _d_e_f_i_n_i_t_i_o_n_s

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

     This is a convenience function that makes it easy to in-line the
     specification of the top-level or global SOAP namespaces within a
     '.SOAP' call. It provides a way to cumulate namespace identifiers
     and URIs into a named vector by specifying the relevant collection
     within the ``catalog'' of SOAP-namespace collections and to
     augment that collection, override elements and/or include and
     exclude certain elements by name.

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

     SOAPNameSpaces(..., include = character(0), exclude = character(0), version = "1.1")

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

     ...: an arbitrary number of id-URI pairs that define a namespace.
          These are included in the collection returned from this
          function along with any values identified via the 'version'
          argument in the '.SOAPDefaultNameSpaces' list.

 include: a character vector giving the names of the elements to
          include. This is used to identify (a few) elements that are
          to be kept from the defaults identified by 'version'.

 exclude: a character vector giving the names of the elements to
          discard. This is usually deployed when we want to keep a
          large number of elements and it is more convenient to
          explicitly exclude some.

 version: a name that identifies an element in the
          '.SOAPDefaultNameSpaces' list that is used to get the default
          values. If this does not match a name in that list, no
          defaults are used and only the values in '...' are used. 

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

     A named vector giving the id-URI pairs of namespaces.

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

     Duncan Temple Lang <duncan@research.bell-labs.com>

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

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

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

     '.merge'

_E_x_a_m_p_l_e_s:

      SOAPNameSpaces()
      SOAPNameSpaces(omegahat="http://www.omegahat.org",
                      r = "http://www.r-project.org")

      SOAPNameSpaces(omegahat="http://www.omegahat.org",
                      r = "http://www.r-project.org", include="SOAP-ENV")

      SOAPNameSpaces(omegahat="http://www.omegahat.org",
                      r = "http://www.r-project.org", exclude="xsd")

      SOAPNameSpaces(omegahat="http://www.omegahat.org",
                      r = "http://www.r-project.org",
                      xsd = "my own XSD URI")

