0

I need to change soap11env to soap and change the namespace "tns" to my own. I saw following post and it worked for me but it requires string replace (in my case 3 times) to replace the string. Is there a better way that I do not need to use on_method_return_string(ctx)?

how to omit tns from response and change tag name in spyne?

I also tried following but it did not work: Remove the namespace from Spyne response variables

It just ignored {'tns': None} but did the other part.

0 Answers0