def ReceiveSOAP(self, readerclass=None, **kw):
if self.ps: return self.ps<EOL>if not self.IsSOAP():<EOL><INDENT>raise TypeError(<EOL>'<STR_LIT>' % self.reply_headers.type)<EOL><DEDENT>if len(self.data) == <NUM_LIT:0>:<EOL><INDENT>raise TypeError('<STR_LIT>')<EOL><DEDENT>self.ps = ParsedSoap(self.data, <EOL>readerclass=readerclass or self.readerclass, <EOL>encodingStyle=kw.get('<STR_LIT>'))<EOL>if self.sig_handler is not None:<EOL><INDENT>self.sig_handler.verify(self.ps)<EOL><DEDENT>return self.ps<EOL>
Get back a SOAP message.