python-zeep icon indicating copy to clipboard operation
python-zeep copied to clipboard

the request block for a long time, how do I set the timeout time when send request

Open gaojingwei opened this issue 7 years ago • 0 comments

my code is :

   zeep_client = zeep.Client(wsd= "xxxxx")
   for i in range(num):
        ret = zeep_client.service.process(i, xxx, xxx)
        print ret

when the loop run some time, it block on zeep_client.service.process() for a long time. but when I check the server log, it send the response, but I dont receive, just always block so I want to set a timeout when send requet, how do I set the time?

gaojingwei avatar Oct 25 '19 05:10 gaojingwei