def GetModuleBaseNameFromWSDL(wsdl):
base_name = wsdl.name or wsdl.services[<NUM_LIT:0>].name<EOL>base_name = SplitQName(base_name)[<NUM_LIT:1>]<EOL>if base_name is None: <EOL><INDENT>return None<EOL><DEDENT>return NCName_to_ModuleName(base_name)<EOL>
By default try to construct a reasonable base name for all
    generated modules.  Otherwise return None.