Is there another way?
suds can't do that? I did not want to use lynx or another browser to do
this job.
j
Veres-Szentkiralyi Andras wrote:
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.
>
_______________________________________________
suds mailing list
suds(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/suds
--
Jose Soares
Sferacarta Net
Via Bazzanese 69
40033 Casalecchio di Reno
Bologna - Italy
Ph +39051591054
fax +390516131537
web:www.sferacarta.com
Le informazioni contenute nella presente mail ed in ogni eventuale file allegato sono
riservate e, comunque, destinate esclusivamente alla persona o ente sopraindicati, ai
sensi del decreto legislativo 30 giugno 2003, n. 196. La diffusione, distribuzione e/o
copiatura della mail trasmessa, da parte di qualsiasi soggetto diverso dal destinatario,
sono vietate. La correttezza, l’integrità e la sicurezza della presente mail non possono
essere garantite. Se avete ricevuto questa mail per errore, Vi preghiamo di contattarci
immediatamente e di eliminarla. Grazie.
This communication is intended only for use by the addressee, pursuant to legislative
decree 30 June 2003, n. 196. It may contain confidential or privileged information. You
should not copy or use it to disclose its contents to any other person. Transmission
cannot be guaranteed to be error-free, complete and secure. If you are not the intended
recipient and receive this communication unintentionally, please inform us immediately and
then delete this message from your system. Thank you.