Pergunta

import suds

s = suds.client.Client('http://hello-world.org/ttsoapcgi.wsdl',
                       cache=suds.cache.NoCache())

I am getting:

AttributeError: 'module' object has no attribute 'cache' for above line.

I have installed suds 0.3.7 version

What's the reason for this and how to solve this ?

Foi útil?

Solução

Update suds version to 0.4

The API used is not present in suds 0.3.7 version

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top