def writeClient(self, fd, sdClass=None, **kw):
sdClass = sdClass or ServiceDescription<EOL>assert issubclass(sdClass, ServiceDescription),'<STR_LIT>'<EOL><INDENT>header = '<STR_LIT>'%('<STR_LIT:#>'*<NUM_LIT:50>, self.getClientModuleName(), self.__module__, '<STR_LIT:#>'*<NUM_LIT:50>)<EOL><DEDENT>print('<STR_LIT:#>'*<NUM_LIT:50>, file=fd)<EOL>print('<STR_LIT>' %self.getClientModuleName(), file=fd)<EOL>print('<STR_LIT>', file=fd)<EOL>print('<STR_LIT>' %self.__class__, file=fd)<EOL>print('<STR_LIT>' %'<STR_LIT:U+0020>'.join(sys.argv), file=fd)<EOL>print('<STR_LIT>', file=fd)<EOL>print('<STR_LIT:#>'*<NUM_LIT:50>, file=fd)<EOL>self.services = []<EOL>for service in self._wsdl.services:<EOL><INDENT>sd = sdClass(self._addressing, do_extended=self.do_extended, <EOL>wsdl=self._wsdl)<EOL>if len(self._wsdl.types) > <NUM_LIT:0>:<EOL><INDENT>sd.setTypesModuleName(self.getTypesModuleName(), <EOL>self.getTypesModulePath())<EOL><INDENT>sd.setMessagesModuleName(self.getMessagesModuleName(), <EOL>self.getMessagesModulePath())<EOL><DEDENT><DEDENT>self.gatherNamespaces()<EOL>sd.fromWsdl(service, **kw)<EOL>sd.write(fd)<EOL>self.services.append(sd)<EOL><DEDENT>
write out client module to file descriptor.
        Parameters and Keywords arguments:
            fd -- file descriptor
            sdClass -- service description class name
            imports -- list of imports
            readerclass -- class name of ParsedSoap reader
            writerclass -- class name of SoapWriter writer