I've just started evaluating SUPS to implement a simple WSDL client, but I've run into a dead end when I changed a method name in my schema. Apparently, even though I'm disabling the cache with client.set_options(cache=None), it's still managed to cache the old schema. How can I truly disable all caching, and clear any currently cached wsdl schema? Where does SUPS store cached data on Windows?
Regards, Chris
Hey Chris,
Welcome to suds!
Chris Spencer wrote:
I've just started evaluating SUPS to implement a simple WSDL client, but I've run into a dead end when I changed a method name in my schema. Apparently, even though I'm disabling the cache with client.set_options(cache=None), it's still managed to cache the old schema.
You need to set the cache option to None in the Client constructor because that is when the wsdl and schemas are processed.
Try:
client = Client(url, cache=None)
How can I truly disable all caching, and clear any currently
cached wsdl schema?
This ^^ should work.
Where does SUPS store cached data on Windows?
No idea although you should be able to find by searching for a suds directory. Can one of you windows users comment on this?
Regards, Chris
fedora-suds-list mailing list fedora-suds-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-suds-list
On Tue, Jun 16, 2009 at 4:06 PM, Jeff Orteljortel@redhat.com wrote:
You need to set the cache option to None in the Client constructor because that is when the wsdl and schemas are processed.
Try:
client = Client(url, cache=None)
That works!
Where does SUPS store cached data on Windows?
No idea although you should be able to find by searching for a suds directory. Can one of you windows users comment on this?
After a little digging, I managed to find this. It should be in something like C:/Documents and Settings/<username>/Local Settings/Temp/suds
Thanks for the help.
Chris