code: def _SetWsdlMethod(ns, wsdlName, inputMM):
     
     _wsdlMethodNSs.add(ns)
     curMM = _wsdlMethodMap.get( (ns, wsdlName) )
     # if inputMM is a list
     if isinstance(inputMM, list):
        if curMM is None:
           _wsdlMethodMap[(ns, wsdlName)] = inputMM
           return inputMM
        elif isinstance(curMM, list):
           raise RuntimeError(
                     "Duplicate wsdl method %s %s (new class %s vs existing %s)" % \
                     (ns, wsdlName, inputMM[0], curMM[0]))
        else:
           return curMM
     # if inputMM is a ManagedMethod
     else:
        if curMM is None or isinstance(curMM, list):
           _wsdlMethodMap[(ns, wsdlName)] = inputMM
           return inputMM
        else:
           return curMM
docs: Set a WSDL method with wsdl namespace and wsdl name
     Returns added method / existing method if (ns, wsdlName) already in the map
  
     Note: Must be holding the _lazyLock