logoalt Hacker News

wwn_setoday at 6:53 AM1 replyview on HN

SOAP is perfect for integration between organisations (for internal communication other formats is usually better). It supports schema first in a natural way meaning as long as both parties agree on a schema nothing else really need to be shared. XML is mature and supported in all languages with code generation its more or less transparent to the dev.

WS auth is horrible though and a bearer token (and tls) in the header is definitely the way to go.


Replies

throwaway7356today at 7:14 AM

> XML is mature and supported in all languages with code generation its more or less transparent to the dev.

No, XML is still not mature. They still need to fix the security issues everyone reimplements every time such as local file disclosure via DTDs, exploding documents due to entity expansion and so on. It basically doesn't handle untrusted input well, like SQL built from strings without parameter bindings.

I hope this is reasonable and doesn't use XML Security or similar extensions that add a whole stack of other security issues on top that everyone reimplements when adding SAML support.

show 2 replies