Questions tagged [zeep]

Zeep: Python SOAP client

Zeep: Python SOAP client http://docs.python-zeep.org

395 questions
5
votes
1 answer

Create a string array parameter with zeep?

I have a vendor-supplied webservice; the WSDL for a certain operation looks like:
5
votes
2 answers

Python SOAP client with Zeep - import namespace

A little context: I am opening this question arose here, after solving an authentication problem. I prefer to open a new one to avoid polluting the previous with comments not related to the original issue, and to give it the proper visibility. I am…
Pintun
  • 716
  • 1
  • 7
  • 23
5
votes
2 answers

setting username and password in the http header for a SOAP request message using zeep (python)?

How can you set the username and password in the http header for a SOAP request message using python's zeep? I believe that is why i am getting a connection refused error but cannot figure out where the http header details can be set. I even tried…
Lori M
  • 63
  • 1
  • 4
4
votes
1 answer

Sending a raw XML request to a SOAP service with Zeep (trying to duplicate an argument)

I am able to send a simple SOAP request with Zeep. with client.settings(strict=False): resp = client.service.demandeFicheProduit( demandeur=self.xxx, motDePasse=self.yyy, ean13s="foo", …
Ehvince
  • 17,274
  • 7
  • 58
  • 79
4
votes
0 answers

Request with zeep (SAOP) using certificate (Python3)

Based on this documentation to use certificates: https://python-zeep.readthedocs.io/en/master/transport.html My code is: from zeep import Client as zeepClient from zeep.transports import Transport from requests import Session import os file_pem =…
4
votes
1 answer

How to prepare a SOAP request using Zeep?

I'm trying to use a particularly arcane WSDL SOAP service, published…
Mark Warburton
  • 471
  • 10
  • 18
4
votes
1 answer

Send XML with attachment to SOAP ws using Python

For the past few weeks I've been learning Python and tried to send a custom XML to a public test WS. Right now I feel like i'm not making any progress. So I need help or any kind of advice for my current situation. The Soap ws ask for the following…
jajdp
  • 83
  • 2
  • 10
4
votes
1 answer

SOAP post() operation gets Java nullptr exception

I'm having an issue with Ruby code posting SOAP using Savon I have a parameter XML_BODY which apparently is not being sent, or, if it is, looks null to the Java code receiving it (if I try to return "TEST"+XML_BODY, the response shows "TEST…
dwn
  • 543
  • 4
  • 15
4
votes
1 answer

ONVIF - Python + ZEEP: create_service not working

I'm implementing an application using ONVIF protocol. There is a WSDL file https://www.onvif.org/ver10/device/wsdl/devicemgmt.wsdl which I have to work with. But it's necessary to define default service, to add following code into WSDL…
Honza
  • 939
  • 2
  • 11
  • 28
3
votes
1 answer

unable to consume SOAP service in zeep, python

I was trying to consume a soap service in python with zeep. I've consumed several soap services with zeep as well. But for a particular soap service, a weird response in returning, unlike a well-organized dictionary. My python code is below: import…
Tushar Hasan
  • 55
  • 1
  • 1
  • 6
3
votes
1 answer

zeep soap12 wsdl+mtom+wsse how to make request?

TPA.wsdl https://pastebin.com/7DBhCHbv DataService.xsd https://pastebin.com/AFhg64hH from zeep import Client import base64 from requests import Session from zeep.wsse.username import UsernameToken from zeep.transports import Transport from…
Dmitrij Holkin
  • 1,995
  • 3
  • 39
  • 86
3
votes
1 answer

How can I apply required namespace formatting with Zeep library?

Because of the remote WSDL service, the request generated by the zeep library is considered invalid. For this reason, product images are not loading. However, what it will do is use the urls in the array. The problem here is, the XML output produced…
Sencer H.
  • 1,201
  • 1
  • 13
  • 35
3
votes
0 answers

converting suds to zeep failure

I replaced suds SOAP client with zeep's SOAP client, and I'm struggling to figure out several things. 1st: I had this code of suds client initialization: client.Client( wsdl_path, …
Daniel
  • 1,895
  • 9
  • 20
3
votes
1 answer

Authentification on DHL-SOAP API with zeep

I just started working with one of the DHL-SOAP APIs and use zeep to run requests against the API. The API expects and Element Authentification like this: ... USER
LetItBeAndre
  • 151
  • 1
  • 10
3
votes
1 answer

Zeep send request with missing mandatory tag

My SOAP services will be tested with various invalid payloads to confirm the appropriate responses are returned. Before testing is carried out, i would like to do my own testing on my services. A few of the tests involve removal of a mandatory…
teebagz
  • 656
  • 1
  • 4
  • 26
1 2
3
26 27