Hi,
if the WSDL doesn't change frequently, you should just download it with the
HTTP client of your choice, and instantiate the Client object with a local
file name. The WSDL still containts the endpoint URL, so it won't mess up the
invocation part, which will use the credentials you provided.
Regards,
András Veres-Szentkirályi
2011. december 17. szombat 08:30:42 dátummal jo ezt írta:
Hi all,
I'm trying to access to:
url="https://webservices.IZSLER.it/wsAnagrafeIZSLER/gestioneUO.php?wsdl"
to have the wsdl but it requires an authentication.
cl = Client(url)
suds.transport.TransportError: HTTP Error 401: Authorization Required
I tried too:
cl = Client(url, username='us',password='pwd')
wiyhout success.
Could someone tell me how to access to this authenticated url to
download the wsdl like lynx do?
lynx -source -auth=us:pwd
https://webservices.IZSLER.it/wsAnagrafeIZSLER/gestioneUO.php?wsdl
thanks.