[Fedora-suds-list] Exception occurred while trying to invoke service method ...

Dave Bonner dbonner at cogolabs.com
Tue Oct 25 14:18:04 UTC 2011


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 at 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 at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/suds
>



-- 
david bonner // dbonner at cogolabs.com


More information about the suds mailing list