On Nov 28, 2017 1:20 AM, "giuseppe ricci" <peppepegasus@gmail.com> wrote:
I'm using Zeep library to query a SOAP webservice wrote in Java.My piece of the wsdl file is:
This is the Django users mailing list, so we probably won't be of much help. You should investigate the support forums for Zeep.
I piloted a small program using it a year or so ago, but I don't have much experience with it as the project went south for other reasons. Neat library to handle the awfulness that is SOAP.
ValidationError at /soapclient/Missing element utenteApplicativo (creaCarrello.GestioneCarrelliRequest) The problem it seems the manner of passing the parameters. With this other manner:call=client.service.creaCarrello(XXXX', {11223344, {'causale':'prova', 'codiceEnte':'CCIAA_MI', \ 'importo':2, 'importoImposta':1, 'importoTotale':3, 'importoUnitario':2, 'quantitaItem':1, 'tipoContabilizzazione':'TA'}, },)I receive the error: unhashable type: 'dict'.Can you help me to understand what is the correct manner to pass these parameters to the zeep client? There are a set of parameters inside another set..Is it supported by zeep?Thanks.
Most likely you meant for the set to be a dict, but forgot to include the keys. I think Zeep exclusively used dicts and lists in their method calls to ease XML serialization, unless something has changed recently.
But again, you'll find better help on the Zeep forums.
-James
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Be%2BciXctJVR3PNBcForRs_vFJrsT2%2BnpVK8pYBYK5zSMZByfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment