def checkResponse(self, ps, action):
namespaceURI = self.wsAddressURI<EOL>d = {namespaceURI:("<STR_LIT>","<STR_LIT>","<STR_LIT>","<STR_LIT>","<STR_LIT>")}<EOL>typecodes = self._getWSAddressTypeCodes(**d)<EOL>pyobjs = ps.ParseHeaderElements(typecodes)<EOL>got_action = pyobjs.get((namespaceURI,"<STR_LIT>"))<EOL>self._checkAction(action, got_action)<EOL>From = pyobjs.get((namespaceURI,"<STR_LIT>"))<EOL>self._checkFrom(From)<EOL>RelatesTo = pyobjs.get((namespaceURI,"<STR_LIT>"))<EOL>self._checkRelatesTo(RelatesTo)<EOL>To = pyobjs.get((namespaceURI,"<STR_LIT>"))<EOL>if To: self._checkReplyTo(To)<EOL>
ps -- ParsedSoap
action -- ws-action for response