mvantellingen / python-zeep

A Python SOAP client
http://docs.python-zeep.org
Other
1.87k stars 578 forks source link

Performance speedup #1375

Open NKMatha opened 1 year ago

NKMatha commented 1 year ago

Hi team,

I was trying to make soap call to fusion cloud, when i was trying to establish client its getting time out so i have saved the wsdl in local and trying to make sopa calls but the client.server.xxxxx() is taking too long for just small task.

from zeep import Client from zeep.transports import Transport import logging logging.basicConfig(level=logging.DEBUG)

url = r"C:\Users\user\Downloads\SecurityService.xml" client = Client(url)

req = client.service.login(userID='user',password='passwd') #taking long time

aaronleggett96 commented 10 months ago

Hey NKMatha,

I'm experiencing the same for Oracle Fusion. I had a script that ran perfectly, but now does not run. I swapped it out for suds and the auth worked near instantly to return the session key. Did you find a fix yourself? I'm going to run some more tests by returning the session key with suds and parsing in the SK into zeep.

NKMatha commented 10 months ago

Hi @aaronleggett96, Even i have shifted to suds, thats look better for me.