I'm using Suds to send/receive SOAP messages in Python. It is taking an insanely long time to create an object to send via the soap envelope.
client = Client(wsdldict['Contact'], faults=True, headers=session) #takes ~5 seconds
lq1=client.factory.create("ns1:ListOfContactQuery") #takes ~130 seconds
The WSDL file is fairly large (1MB) but I do not know if that is the issue or not. Does Suds performance breakdown at a certain point?
SUDS performance does breakdown on large WSDL files. I have experienced this same thing before with the Citrix NetScaler SOAP API.
If you are able to filter your WSDL into a subset of required commands, store the file on disk and load it locally, or make use of SUDS' caching functionality, you can dramatically increase this processing time when creating a new client.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With