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…
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…
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",
…
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 =…
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…
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…
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…
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…
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…
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…
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,
…
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
…
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…