Questions tagged [zeep]

Zeep: Python SOAP client

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

395 questions
0
votes
1 answer

How do I force zeep to use only TLSv1.2?

I'm designing a SOAP client using python and SOAP server I'm connecting to only allows TLSv1.2. I looked up in zeep documentation but couldn't find any setting where I can force it to use only 'TLSv1.2'. If zeep doesn't have this feature, are there…
dhruvvyas90
  • 1,135
  • 1
  • 15
  • 31
0
votes
2 answers

SOAP - Must specify a type attribute value for the element

Using Python zeep, I'm interacting with Salesforce's SOAP (specifically, Metadata) API. Trying to createMetadata I get this error: Fault: Must specify a {http://www.w3.org/2001/XMLSchema-instance}type attribute value for the…
tscizzle
  • 11,191
  • 15
  • 54
  • 88
0
votes
1 answer

python ZEEP: GUID not parsed from XML to JSON in SOAP response

I am connecting to a SOAP web service using the ZEEP library for python and found that one of the fields that is returned in the XML is not parsed correctly. I have copied the fragment from the XML response below, as well as the parsed JSON. Also…
Bart
  • 512
  • 2
  • 5
  • 16
0
votes
1 answer

How to comply with policy defined in WSDL

I'm trying to access a SOAP web service using Zeep There is a publicly available WSDL, and a testing WSDL (has a self-signed cert) My code to test (from test site) is: from requests import Session from zeep import Client from zeep.transports import…
maafk
  • 6,176
  • 5
  • 35
  • 58
0
votes
1 answer

How to upload a file via SOAP, as an attachment using python zeep

I have been successful in using zeep when calling (remote) methods and downloading attachments. I have now come across a method that requires me to upload a file. The file needs to be passed as an attachment. I normally call a remote web service…
Mohrez
  • 11
  • 3
0
votes
2 answers

Cannot import six.python_2_unicode_compatible in Django application

Due a new requirement on my Django app, I started using zeep. I installed it as usual throught an existing virtualenv. The problem is that, when i tried to deploy my app, using Apache and mod_wsgi, it doesn't work, returning the following…
Benjy Malca
  • 597
  • 1
  • 9
  • 21
0
votes
1 answer

ZEEP WSDL LookupError: No type 'string' in namespace

I'm trying to use ZEEP v1.2.0 to connect to some service and ran into this issue. I just execute: python -mzeep http://fulfill.sfcservice.com/default/svc/wsdl Result: zeep.exceptions.LookupError: No type 'string' in…
QuentinHK
  • 3
  • 2
0
votes
1 answer

Python Zeep SOAP client module - can't set attributes for an element

I'm a little bit rusted with Python but I need to set up a SOAP call with zeep client. I managed to successfully call a couple of methods by passing in only a dictionary object but I don't have luck setting this one part and I'm not sure if it's…
mmesnjak
  • 169
  • 4
  • 14
0
votes
0 answers

Can not parse XML SOAP response Python Zeep

I receive this response from a SOAP service, but I am not able to parse the response. I want to read the values for gtin. client = zeep.Client(wsdl=wsdl) #The soap call receives 4 arguments, the last argument is the response format soapCall =…
Payam Mesgari
  • 953
  • 1
  • 19
  • 38
-1
votes
1 answer

How can I access function variables nested in a class?

I am making a SOAP call via Zeep and utilizing the plugin based on the documentation located here. The class is defined as a variable plugin which is then sent in the Client. When I run resp = service.listChange() it will run the class…
Chad
  • 83
  • 1
  • 7
-1
votes
1 answer

Network is unreachable for Flask app on Apache

I have a simple Flask application hosting a form for a data input into local db. I am validating one of the field with wdsl service with python zeep (simply checks if VAT exists with…
-1
votes
1 answer

How to test Soap Service on Django with Spyne with Zeep

i trying to using zeep on django to make test to a SOAP service (using Spyne), but always need to be running a runserver, but need to be executed without runserver because need to using a test database not a default database. i using like like…
Softsofter
  • 345
  • 1
  • 3
  • 13
-1
votes
2 answers

Parsing a nested JSON(?) object in Python

I use zeep to call a webservice. response = proces.service.Load(**params2, _soapheaders={'Header': header_value}) This returns an object which looks like this { 'LoadResult': None, 'hierarchy': { 'Code': 'FTE', 'Name':…
-1
votes
1 answer

Where do I initialize or put my Client ID so I can make SOAP calls?

So I have a username and password, and I have a ClientID. With JSON I can just create a header field to add these in and do a requests.post(endpoint, json=payload, headers=my_headers), but for SOAP the header fields are {content-type':…
JT Saiyan
  • 55
  • 1
  • 7
-1
votes
1 answer

Python - missing zeep and binascii

I am trying to run the following yml file. When it runs I get the error below. I use command conda env create -f myTool.yml myTool.yml name: myTool dependencies: - python=3.7 - xlrd - openpyxl - re2 - zeep - pandas - binascii - requests The Error…
Kachopsticks
  • 125
  • 1
  • 13
1 2 3
26
27