Jun-23-2017, 10:07 AM
Hello ,
Can any one help me on how i can use connection pooling using suds-jurko with python 3.x
Hello ,
Can any one help me on how i can use connection pooling using suds-jurko with python 3.x . Below is my code but caching is not working . The wsdl object is getting downloaded on every request in the cache location
Can any one help me on how i can use connection pooling using suds-jurko with python 3.x
import datetime from suds.client import Client client = Client('http://<IP>:<Port>/?wsdl') try: respone= client.service.trigger(TriggerRequest) print(respone) except Exception as e: print(e)Ho
Hello ,
Can any one help me on how i can use connection pooling using suds-jurko with python 3.x . Below is my code but caching is not working . The wsdl object is getting downloaded on every request in the cache location
import datetime from suds.client import Client from suds.cache import ObjectCache cache = ObjectCache() cache.setduration(days=1) cache.setlocation('suds_cache') client = Client('http://<IP>:<Port>/?wsdl',cache=cache,cachingpolicy=1) try: respone= client.service.trigger(TriggerRequest) print(respone) except Exception as e: print(e)Ho