def setUpInitDef(self, service):
assert isinstance(service, WSDLTools.Service),'<STR_LIT>'<EOL>sd = self._services[service.name]<EOL>d = sd.initdef<EOL>if sd.location is not None:<EOL><INDENT>scheme,netloc,path,params,query,fragment = urllib.parse.urlparse(sd.location)<EOL>print('<STR_LIT>' %(self.getIndent(level=<NUM_LIT:1>), path), file=d)<EOL><DEDENT>else:<EOL><INDENT>print('<STR_LIT>' %self.getIndent(level=<NUM_LIT:1>), file=d)<EOL><DEDENT>if self.base_module_name == inspect.getmodule(ServiceSOAPBinding).__name__:<EOL><INDENT>print('<STR_LIT>' %(self.getIndent(level=<NUM_LIT:2>), self.base_class_name), file=d)<EOL>return <EOL><DEDENT>print('<STR_LIT>' %(self.getIndent(level=<NUM_LIT:2>), self.base_class_name), file=d)<EOL>
set __init__ function