Convert python array of int to SOAP ArrayofInt

I am using the zeep python package so as to call a function through SOAP which accepts an argument of 'ArrayofInt' type. Passing a 'normal' integer array doesn't work... the workaround is to run...

python zeep: send un-escaped xml as content

I think what I am trying to do is pretty much like github issue in zeep repo --- but sadly there is no response to this issue yet. I researched suds and installed and tried -- did not even get...

python3 zeep url gives 401 client error: unauthorized for url

my command: python3 -mzeep https://pearson:[email protected]/pearson-rest/services/PublicPortalServiceJSON?wsdl I get an error: requests.exceptions.HTTPError: 401 Client Error:...

Api Request WSDL Python

I am trying to make an api connection via wsdl-soap in Python. Here are the codes I used. import zeep wsdl = 'http://dev.gittigidiyor.com:8080/listingapi/ws/CategoryService?wsdl' client =...

Zeep not parsing the response

I have soap response, which is not being parsed with my soap client. Using zeep==2.5.0 zeep.exceptions.XMLParseError: Unexpected element '{url1}SendMessage' <?xml version="1.0"...

Python soap client - connection having issue

I am using Python soap API client Zeep and here is the code that I have written: from zeep import Client def myapi(request): client = Client("https://siteURL.asmx?wsdl") key =...

Bearer Token authorization header in SOAP client with Zeep and Python

I am new to SOAP requests and programming in general. I would like to access a WSDL that requires a Bearer Token Authorization to use one of their services. Info about the service I want to access...

Change zeep binding

I'm trying to connect to a soap endpoint which defines 2 service location one is invalid. How can I change the binding to use the other service. I'm new to SOAP and zeep the doc says: from zeep...

Google AdManager getCurrentNetwork() error

I have set up ad manager credentials. I'm trying to access the Admanager API, im getting the following error. from googleads import ad_manager client =...

Is there any way to Call python soap spyne server with c++ Gsoap client?

Actually i have a python script and soap server running using soap spyne and i need to call that soap api using c++ gsoap client so that the python script will run and get the output as a...

Preemptive authentication with Zeep and requests

I need to talk to a SOAP server which requires "preemptive authentication" (it uses BasicAuth). I have no idea of how to configure my zeep client to make it behave accordingly. As it says here,...

Request via zeep with multiple tags with the same name

Good evening! I apologize right away for my poor English. I had a problem sending nested fields with the same name through zeep, zeep ignores all fields and sends only the last one. I have such a...

How to disable caching for Adwords API on App Engine with zeep?

I am trying to disable caching with zeep as is described here: https://github.com/googleads/googleads-python-lib/blob/master/README.md#how-can-i-configure-or-disable-caching adwords_client =...

When hitting SOAP Request using zeep module then getting execption "The given SOAPAction None does not match an operation."

I am executing SOAP webservice using WS-Security #PAsswordDigest using Zeep module in python. But when hitting request then getting like "The given SOAPAction None does not match an operation." ...

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: ... <soapenv:Header> ...

gaierror: [Errno 11001] getaddrinfo failed in Python 3.8

I am working on a process which I am trying to POST requests (WSDL link) and Get RESPONSE and parse the <Number value to XML. So, I started with Request and get response in python 3.8. Please find...

Pyhton zeep soap request signature fails: cannot load cert

I am trying to make a SOAP request using Python zeep, which requires a sha256 signature with RSA 2048. For some reason I am unable to load the signature, and I get 'signature fails: cannot load...

Zeep: Struggling to add mustunderstand=1 to WSE header

When I view the raw request in SOAPUI i get = wsse:Security soapenv:mustUnderstand="1" in the <soapenv:Header> section. When doing it with zeep and python i do not see this in the request sent to...

Python / Zeep / SOAP proxy problem (I think)

I am trying to get this to work: Practitioner notes -> Python scripts for automation in NA -> Python client to invoke NA SOAP APIs Here is my code (sanitized a bit): #! /usr/bin/env python3 from...

Django error 'URLs with hostname components are not permitted'

I have deployed a django application which invokes a python file to send captured data on django form to a third party independent server. The problem is that when the python file is invoked from...

How to create an async zeep client with wsdl file?

I have code that uses zeep to create a soap client. My server does not return the wsdl file but i have it locally. The sycronous version works looks like this: import uuid from os import...

Soap call using pfx or p12 authentication in Zeep or suds library Python

I want to use SOAP call service using .p12 certificate file. I tried below code. But it throws path error. Is there any solution for this, in suds python3? *TypeError: stat: path should be string,...

python-onvif-zeep | ptz.stop() throw an error | onvif.exceptions.ONVIFError: Unknown error: Action Not Support

im using this code for my task. and successfully run the moving method and the camera starts rotating. ones I call the stop() method it's throwing an exception. please help for solve...

Problem with validation of SOAP request with Zeep (python)

I have problems to get SOAP request through Zeep, I get a (client) validation error... I have also tested with SoapUI and that does NOT give me the same validation error... The specification below...

Unwanted Warm Shutdown (MainProcess) of node worker in airflow docker swarm

I am currently setting up remote workers via docker swarm for Apache Airflow on AWS EC2 instances. A remote worker shuts down every 60 seconds without an apparent reason with the following...

ModuleNotFoundError: No module named 'zeep'

I have created a virtual environment on which I ran the following command to install Zeep (I am on macOS Big Sur): pip3 install zeep To verify if I have correctly installed it I ran: pip3...

PHP curl lower SSL security (ca md too weak error)

I am trying to send simple GET request with curl using my certificate and private keys: $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://example.com', ...

SOAP request works in SOAP UI but It is not working with python Requests library

I'm trying to do a SOAP Request from code. So I used SOAP UI to test the Webservice, it is necessary to pass a certificate.pem, after run the request its working as follows. I decided to test...

DHL SOAP Request

I'm trying to use the API from DHL to add shipment details and get a label in return. I'm using the soapbox with SoapUI and be able to make requests. Now I want to do this in Python. I'm not...

Why can't Python 3 virtualenv find some installed packages?

I am working with a Python virtualenv named env to execute Odoo. In the virtualenv bin directory, I got this: pip pip3 pip3.8 python -> /usr/bin/python3 python3 -> python python3.8 ->...