def parse(self, ps, **kw):
namespaceURI = self.wsAddressURI<EOL>elements = ("<STR_LIT>","<STR_LIT>","<STR_LIT>","<STR_LIT>","<STR_LIT>")<EOL>d = {namespaceURI:elements}<EOL>typecodes = self._getWSAddressTypeCodes(**d)<EOL>pyobjs = ps.ParseHeaderElements(typecodes)<EOL>self._messageID = pyobjs[(namespaceURI,elements[<NUM_LIT:0>])]<EOL>self._action = pyobjs[(namespaceURI,elements[<NUM_LIT:1>])]<EOL>self._addressTo = pyobjs[(namespaceURI,elements[<NUM_LIT:2>])]<EOL>self._from = pyobjs[(namespaceURI,elements[<NUM_LIT:3>])]<EOL>self._relatesTo = pyobjs[(namespaceURI,elements[<NUM_LIT:4>])]<EOL>
ps -- ParsedSoap instance