code: def _AddType(type):
     
     type.Array = CreateArrayType(type)
  
     typeNS = GetWsdlNamespace(type._version)
     newType = _SetWsdlType(typeNS, type._wsdlName, type)
     if newType != type:
        raise RuntimeError("Duplicate wsdl type %s (already in typemap)" % (type._wsdlName))
  
     return type
docs: Note: Must be holding the _lazyLock, or in main init path