Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

XSD Validations


After refering the blog <a href="/people/morten.wittrock/blog/2006/03/21/validating-messages-in-xi-using-xml-schema messages using schema</a> I have created one scenario in which I do the validations on the incoming messagesto XI.

When there actually is no provision to do so-you have to handle this case explicitely. Thanks to Morten for his idea.

But there is a small problem I am facing in this approach-

I have successfully created the scenario, tested it, and its working fine.

But the problem is my Java code is giving up the parsing whenever the first error occurs.

i.e. if the message contains more no of error fields my program can show only the error that occured first, rest I can not see.

Well I think this explanation you will be able to understand,

please suggest any special exception handling techniques - presently I am using ErrorHandler class to handle exceptions.


Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question