Closed random343 closed 3 years ago
Can you add the missing bits and fix the formatting as well?
Both xml documents are equivalent, so any SOAP client should properly parse both documents.
That said, I can't see how the same server could produce different outputs randomly like this. Are you sure nothing is different between the servers that produce these two responses?
I understand that the answers are equivalent. But I met a client for whom these are different answers.
I noticed a feature.
This situation is reproduced only when the script is run through an external uwsgi server.
Through the built-in
from wsgiref.simple_server import make_server
it does not repeat itself.
this is outside of scope of this project. xml canonicalization should be made in an after_serialize
hook
The service returns different responses to the same request, in no particular order.
Example service:
Request:
Response:
or
Why is that? How to avoid this?