Mariano Calandra
1 min readJan 24, 2020

--

Hi Francesco, yes! :)

XSD is (was?) a great tool but it can’t resolve the problem described in the article. I mean, your consumer microservice can implement a proper XSD, in order to validate the messages sent by a consumer and this is handy because you can reduce the number of if/then/else in your business code.

Infact XSD, or JSONSchema as well, are useful for messages validation but they are not the right tool if you want to reduce (a-head of time) the chances, for a provider, to introduce bad messages into the system.

Did I respond to your question?

--

--

Mariano Calandra
Mariano Calandra

Written by Mariano Calandra

Mariano daily helps companies succeed using cloud and microservices. • AWS Authorized Instructor • AWS Community Builder • goto.calandra.me/support

Responses (1)