Setting mtomEnabled=true and schemas=... causes error:
It seems that validation against XSD was done after MTOM data replacement.
Sample project is here:
(Error is in cz.datalite.spring.mtom.client.WebServiceClientTest#testMarshall call.)
Expected behaviour is:
- Validate XML message according to XSD.
- Replace content of data element with MTOM include tag.
- Send SOAP message.
Disabling message validation is only known workaround.