Open gcobr opened 4 years ago
if you need to call a method not listed in the client , consider using requests.post sending raw xml to the endpoint. i used sometime when client is not able to understand how the schema works. you need to add the SOAPAction method, so i suggest you to add the wsdl to the SOAPUI client, make the call works and then copy-paste the generated call.
this is only a workaround but working with soap is so buggy that sometime you will need to do it.
Using suds-py3.
When loading the following WSDL:
https://clientdev.inteflow.com.au/inteport/DecisionGateway.asmx?WSDL
I get:
The types list contains all this, but nothing called
_sRequestXML
(which should be treated as a string, I reckon):Then, when I do:
The SOAP string I passed to
ExecuteXMLRequest
is not set as the value ofns1:ExecuteXMLRequest
. Instead, the element is empty:I need Suds to produce an envelope like this instead:
Is there a problem with the WSDL? Should I pass the parameter in some other way?
Full example: