I've been using zeep as a client in my application to request data from SOAP APIs and I now want to build a simple mock server that returns some XML data. I thought I wouldn't need to build a true soap server and rather I'd just respond to requests with XML data and call it good but I'm running into an issue where my zeep client throws the error:
line 101, in service
"There is no default service defined. This is usually due to "
ValueError: There is no default service defined. This is usually
due to missing wsdl:service definitions in the WSDL
I've seen solutions that would require:
client.create_service()
I'm wondering if anyone has found a way around doing this or if there was a way to return the wsdl file in the response from my mock server?