There is a very simple option in EM to enable schema validation which will validate the XML.
go to em> right olick on soa-infra> soa administration > common properties > payload validation
But my personal request is don't validate XML as you will end up facing a huge performance issue later on.
But i want to know is there a way through BPEL process, using transform activity or something to check if the incomming canonical xml suits the xsd.Comparing all the elements.
Is there any way to check this ?
You can make use of "validate" activity in BPEL.
By using Validate activity,
We can verify code and identifies XML data in a BPEL.
The variables are validated against their XML schema.