Re: How do I access avariable named "return"?

2005-06-21 Thread Holger Wirtz
Brian Beck wrote: >> I think this seems to be a problem due to the use of a forbidden word. >> But I have no chance to change the WSDL definition, so: How can I get the >> variable resp.return? Any suggestions? > > To get it: getattr(resp, 'return') > To set it: setattr(resp, 'return', value) >

How do I access avariable named "return"?

2005-06-21 Thread Holger Wirtz
Hi, I have a small problem: I have a WSDL file where different functions are described. It worked perfectly until I have a function which has a return-value named "return": Here is my program: --- cut here --- from SOAPpy import WSDL wsdlFile = 'mypbx.wsdl' server = WSDL.Proxy(wsdlFile