spyne icon indicating copy to clipboard operation
spyne copied to clipboard

Header types validation support

Open DXist opened this issue 10 years ago • 2 comments

At the moment I can't enforce lxml validation of header simple or complex types.

DXist avatar Sep 08 '14 10:09 DXist

you're not alone :P

For future reference, here's where soap body validation is done. probably header validation should be done here as well. https://github.com/arskom/spyne/blob/591b72d59980d81678d2979ea0a76bd8a81614ec/spyne/protocol/soap/soap11.py#L210

I can't remember why we have to validate in decompose call though. Isn't it better to do it right before deserialization?

plq avatar Sep 08 '14 10:09 plq

I think envelope decomposition and validation are different tasks that can be done independently.

DXist avatar Sep 08 '14 11:09 DXist