Veres-Szentkiralyi Andras wrote:
It looks like a problem on the server side for me on the first sight.
Do you
have a client, that can successfully access this service?
No, I haven't.
I tried to access this service using ZSI without success.
j
Regards,
András Veres-Szentkirályi
2011. december 23. péntek 11:36:19 dátummal jose soares ezt írta:
> Hi all,
>
> I wrote this script:
> from suds.client import Client
> import datetime
> #import logging
> from suds.transport.http import HttpAuthenticated
> #logging.basicConfig(level=logging.DEBUG)
> #logging.getLogger('suds.client').setLevel(logging.DEBUG)
> url_test='https://wstest.izs.it/j_test_canina/ws/search/Search.ws?wsdl'
> client = Client(url_test)
> token = client.factory.create('SOAPAutenticazioneWS')
> token.username = 'sicilia'
> token.password = 'sicilia'
> token.ruoloCodice = 'ASL'
> token.ruoloValoreCodice='V103'
> client.set_options(soapheaders=token)
> chip = client.factory.create('animaleSearchTO')
> chip.anmMicrchip = '968000000818380'
> result = client.service.searchAnimale(chip)
>
>
> and it raise this error:
>
>
> No handlers could be found for logger "suds.client"
> Traceback (most recent call last):
> File "/tmp/test_canina.py", line 17, in <module>
> result = client.service.searchAnimale(chip)
> File "/tmp/suds/client.py", line 542, in __call__
> return client.invoke(args, kwargs)
> File "/tmp/suds/client.py", line 602, in invoke
> result = self.send(soapenv)
> File "/tmp/suds/client.py", line 649, in send
> result = self.failed(binding, e)
> File "/tmp/suds/client.py", line 702, in failed
> r, p = binding.get_fault(reply)
> File "/tmp/suds/bindings/binding.py", line 265, in get_fault
> raise WebFault(p, faultroot)
> suds.WebFault: Server raised fault: 'local part cannot be "null" when
> creating a QName'
>
> I can't realize what is wrong.
>
> 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.