Regards,
András Veres-Szentkirályi
2011. december 3. szombat 18:41:05 dátummal jo ezt írta:
Hi all,
I'm trying to access this ws:
from suds.client import Client
from suds.transport.http import HttpAuthenticated
url="https://aris.infocamere.it/parixgatenazionale/services/gate?wsdl"
t = HttpAuthenticated(username='username', password='password')
client = Client(url, transport=t)
result = client.service.RicercaImpresePerCodiceFiscale()
and this is the response:
DEBUG:suds.xsd.query:(u'string',
u'http://schemas.xmlsoap.org/soap/encoding/'), not-found Traceback (most
recent call last):
File "test_parix.py", line 12, in <module>
client = Client(url, transport=t)
File "build/bdist.linux-x86_64/egg/suds/client.py", line 119, in __init__
File "build/bdist.linux-x86_64/egg/suds/servicedefinition.py", line 57,
in __init__ File "build/bdist.linux-x86_64/egg/suds/servicedefinition.py",
line 85, in addports File
"build/bdist.linux-x86_64/egg/suds/bindings/rpc.py", line 39, in
param_defs File "build/bdist.linux-x86_64/egg/suds/bindings/binding.py",
line 441, in bodypart_types suds.TypeNotFound: Type not found: '(string,
http://schemas.xmlsoap.org/soap/encoding/, )'
Could someone please give me some help?
thanks
j