def setResponseFromWSAddress(self, address, localURL):
self.From = localURL<EOL>self.header_pyobjs = None<EOL>pyobjs = []<EOL>namespaceURI = self.wsAddressURI<EOL>for nsuri,name,value in ((namespaceURI, "<STR_LIT>", self._action), <EOL>(namespaceURI, "<STR_LIT>","<STR_LIT>" %time.time()),<EOL>(namespaceURI, "<STR_LIT>", address.getMessageID()),<EOL>(namespaceURI, "<STR_LIT>", self.anonymousURI),):<EOL><INDENT>typecode = GED(nsuri, name)<EOL>pyobjs.append(typecode.pyclass(value))<EOL><DEDENT>typecode = GED(nsuri, "<STR_LIT>")<EOL>pyobj = typecode.pyclass()<EOL>pyobj._Address = self.From<EOL>pyobjs.append(pyobj)<EOL>self.header_pyobjs = tuple(pyobjs)<EOL>
Server-side has to set these fields in response.
        address -- Address instance, representing a WS-Address