Hello Gerardo and Happy New Year to you too!
There is nothing we can do about the continuous schema changes of the REST-API that we are using.
Even though the schema changes are “backwards-compatible”, i.e. they add a new field that is optional, we get the following validation error when we validate the REST-response against the document type (created from the XML-schema):
“errorCode=VV-002 errorMessage=[ISC.0082.9026] Undefined Object found”
However, if I change the document type to allow unspecified fields we do not get this validation error.
Other than the two options that I already mentioned in my original post I am considering the following:
- Skip validation of the REST-response altogether
- Create a script which adds any-elements to the xsds
- Create a Java Service which removes all undefined fields in a REST-response
I am not very fond of either of the above though, especially not modifying the XML-schemas.
#Integration-Server-and-ESB#webMethods