I am sending a request to an external WDSL service, which for some reason returns a huge object. I am connecting using SOAPpy, and I would like to parse the result to JSON. However I am getting a lot of objects within the object, like this.
<SOAPpy.Types.structType incident at 53129728>:
Is there any way I can parse this object with SOAPpy? Is my first time using this SOAPpy.
i had that same problem, i found a solution here:
https://github.com/paultag/deapi/blob/master/deapi/emitters.py
basically you have create a Encoder json class and give to dump the class for encoding.
something like this:
and them: