code: def method(self, method):
          
          ns = method.soap.input.body.namespace
          if ns[0] is None:
              ns = ('ns0', ns[1])
          method = Element(method.name, ns=ns)
          return method
docs: Get the document root.  For I{rpc/(literal|encoded)}, this is the
          name of the method qualifed by the schema tns.
          @param method: A service method.
          @type method: I{service.Method}
          @return: A root element.
          @rtype: L{Element}