Questions tagged [zeep]

Zeep: Python SOAP client

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

395 questions
0
votes
1 answer

How to access the method in zeep

I am trying the below code but I get the zeep.exceptions.Fault: null error from zeep import Client from zeep.transports import Transport from requests_ntlm import HttpNtlmAuth from requests import Session session = Session() username = "" password =…
ganan
  • 1
  • 3
0
votes
1 answer

How to add multiple homogenous child elements in a Zeep object

It's very easy to create a Zeep object with heterogeneous elements, for example: foo bar foo bar Is created with (and this illustrates the various different ways): A( …
Eamonn M.R.
  • 1,917
  • 2
  • 17
  • 23
0
votes
1 answer

SOAP + Zeep + XSD extension

Am interacting with a SOAP service through Zeep and so far it's been going fine, except I hit a snag with regards to dealing with passing values in anything related to an XSD extension. I've tried multiple ways and am at my wits end. campaignClient…
0
votes
0 answers

SOAP response only gives me 1% of the file contents

I have a very simple SOAP request that I'm sending to a server.
ThatsANo
  • 56
  • 5
0
votes
1 answer

Creating SOAP request via Zeep with variable number of XML tags

All, I am using Zeep to connect to CUCM to perform bulk AXL transactions. Some of the objects that I need to modify accept a variable number of XML tags. For example: I want to add an entity(calling search space), which could have a variable number…
adamz88
  • 319
  • 3
  • 12
0
votes
1 answer

python zeep and MessagePack attachments

A python rookie here and thank you for taking time to help. I am sending a SOAP request to download some mp4 recordings from a server using zeep. The server responds by sending the following MessagePack attachments. How do I unpack this and convert…
Dejoskii
  • 1
  • 2
0
votes
1 answer

multiple WS-I filters on NNMi 10.20 SOAP

I would like to apply multiple WS-I filters on NNMi 10.20 SOAP , I Use Zeep Python library : from requests.auth import HTTPBasicAuth # or HTTPDigestAuth, or OAuth1 from requests import Session from zeep import Client from zeep.transports import…
Yacine Bs
  • 182
  • 1
  • 13
0
votes
1 answer

Python - ValueError: dictionary update sequence element #0 has length 15; 2 is required

I am using Zeep to try and interact with a SOAP client on SellerCloud. When I pass in my argument for one of the API's operations, I get hit with a ValueError - ValueError: dictionary update sequence element #0 has length 15; 2 is required Here is…
demluckycharms
  • 421
  • 1
  • 6
  • 17
0
votes
1 answer

Python zeep - XML tag missing type declaration for string type

When using zeep, the following code: string_type = client.get_type("xsd:string") string_expression = string_type("my string value") Results in this: my string value What the serializer on the SOAP server expects is actually…
tonysepia
  • 3,340
  • 3
  • 27
  • 45
0
votes
2 answers

How to specify type when using zeep

WSDL defines an element as follows My zeep request is as follows client.service.UpdateAddressDetails(address='sample@sample.com') But I am getting Missing element…
Emmanuel Mtali
  • 4,383
  • 3
  • 27
  • 53
0
votes
1 answer

Python Zeep : How to get get / retrieve header info : charset

I tried to understand how to get / retrieve header information charset with transport.get but I do not know what parameters are to be passed ... I want to know the charset to perform the encoding before sending the data : utf-8, iso-1559,…
DJR
  • 21
  • 1
  • 4
0
votes
2 answers

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 = client.service.LogOnUser('myusername', 'mypassord') …
Cнιяαg
  • 11
  • 2
0
votes
1 answer

Filtering Magento SOAP requests using Zeep

I'm struggling with sending a filter to Magento's SOAP service from Python 2.7. I'm attempting to use the Zeep package to call the SOAP service. Sending an empty list as the second argument works fine to return all of the data. However when I set a…
Jeff
  • 21
  • 2
0
votes
2 answers

Call webservice method that contains hyphen

I am trying to call SAP web service using zeep module. We have a web service method called “-CTSH-HC_RFC_XCHG_RATE_UPLOAD” and when try to call that method, getting the error ” Service has no operation '_' “ . Since method name has hyphen, python…
Vignesh S
  • 11
  • 2
0
votes
1 answer

Adding an optional attribute to element in Zeep

I am attempting to call a Workday SOAP service using Zeep. I am able to successfully call the service, add elements to filter the request, and get a response, but I need to specify a version attribute in the request element, and I cannot figure out…