how to set timeout while colling a soap method?

dzizes dzizes451 at gmail.com
Mon Jul 13 09:07:52 EDT 2009


Hello!

I wrote some some python code for executing a soap method:

import SOAPpy
from SOAPpy import WSDL

_server = WSDL.Proxy(some wsdl)
r=_server.generuj(some parameters...)
print r.encode('cp1250')

It works fine. However, the execution time of this soap method might be
long. Therefore, I would like to set a timeout like 1 minute, after which I
would post a timeoute message.

Any ideas?
Greats,


-- 
View this message in context: http://www.nabble.com/how-to-set-timeout-while-colling-a-soap-method--tp24461403p24461403.html
Sent from the Python - python-list mailing list archive at Nabble.com.




More information about the Python-list mailing list