Thanks for your tip, Dave, it was very helpful.
j
Dave Bonner wrote:
That's a server-raised fault. Have you verified that the soap
you're
sending with suds matches what they're expecting?
See the docs for how to set logging up to display the full soap messages.
https://fedorahosted.org/suds/wiki/Documentation#LOGGING
On Tue, Oct 25, 2011 at 4:45 AM, jo <jose.soares(a)sferacarta.com> wrote:
> Hi all,
>
> I'm new to suds, I was using ZSI for a long time, but now I'm
> appreciating the power and simplicity of suds.
> I need to access a service with basic authentication and I wrote the
> following code:
>
>
> from suds.client import Client
> url='http://sispc.consorziometis.it/Ax2PFOra/services/Ax2PFOra?wsdl'
> client = Client(url, username='2000',
> password='782871608150c25b5912dd2d86154123')
> print client.service.cercaDittaByCodiceMetis(codiceDittaMetis='123')
>
> when I tried it:
>
> python metis.py
>
> No handlers could be found for logger "suds.client"
> Traceback (most recent call last):
> File "metis.py", line 18, in <module>
> print client.service.cercaDittaByCodiceMetis(codiceDittaMetis='123')
> File "build/bdist.linux-x86_64/egg/suds/client.py", line 542, in __call__
> File "build/bdist.linux-x86_64/egg/suds/client.py", line 602, in invoke
> File "build/bdist.linux-x86_64/egg/suds/client.py", line 649, in send
> File "build/bdist.linux-x86_64/egg/suds/client.py", line 702, in failed
> File "build/bdist.linux-x86_64/egg/suds/bindings/binding.py", line
> 265, in get_fault
>
> suds.WebFault: Server raised fault: 'Exception occurred while trying to
> invoke service method cercaDittaByCodiceMetis'
>
>
> could someone please give me some help?
>
> thanks
>
> j
>
>
> _______________________________________________
> 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.