Send a SOAP request using Python and Zeep module

Job ID: 37221545

Budget: £20 – £250 GBP

Hi,

I need a small python script using the zeep module to send a request that I'm having trouble with.

I have attached the wsdl but would like to format the request similar to this:

client = Client("wsdl/create_works_orders_definition.wsdl")
with client.settings(strict=False, xml_huge_tree=True, xsd_ignore_sequence_order=True):
wo = client.service.CreateWorksOrders(
_soapheaders=Headers,
Element1 = Variable1,
Element2 = Variable4,
Element3 = Variable4,
Element4 = Variable4,
)
Related categories: Python SOAP API