def setRequest(self, endPointReference, action):
self._action = action<EOL>self.header_pyobjs = None<EOL>pyobjs = []<EOL>namespaceURI = self.wsAddressURI<EOL>addressTo = self._addressTo<EOL>messageID = self._messageID = "<STR_LIT>" %time.time()<EOL>typecode = GED(namespaceURI, "<STR_LIT>")<EOL>pyobjs.append(typecode.pyclass(messageID))<EOL>typecode = GED(namespaceURI, "<STR_LIT>")<EOL>pyobjs.append(typecode.pyclass(action))<EOL>typecode = GED(namespaceURI, "<STR_LIT>")<EOL>pyobjs.append(typecode.pyclass(addressTo))<EOL>typecode = GED(namespaceURI, "<STR_LIT>")<EOL>mihFrom = typecode.pyclass()<EOL>mihFrom._Address = self.anonymousURI<EOL>pyobjs.append(mihFrom)<EOL>if endPointReference:<EOL><INDENT>if hasattr(endPointReference, '<STR_LIT>') is False:<EOL><INDENT>raise EvaluateException('<STR_LIT>')<EOL><DEDENT>if isinstance(endPointReference.typecode,GTD(namespaceURI ,'<STR_LIT>')) is False:<EOL><INDENT>raise EvaluateException('<STR_LIT>'%GTD(namespaceURI ,'<STR_LIT>'))<EOL><DEDENT>ReferenceProperties = getattr(endPointReference, '<STR_LIT>', None)<EOL>if ReferenceProperties is not None:<EOL><INDENT>for v in getattr(ReferenceProperties, '<STR_LIT>', ()):<EOL><INDENT>if not hasattr(v,'<STR_LIT>'):<EOL><INDENT>raise EvaluateException('<STR_LIT>')<EOL><DEDENT>pyobjs.append(v)<EOL><DEDENT><DEDENT><DEDENT>self.header_pyobjs = tuple(pyobjs)<EOL>
Call For Request