Validating xml documents against xml schema

The XML Schema technology has been a core component of SAP Exchange Infrastructure since version 3.0, but as of SP16 it’s still not possible to have the Integration Server validate messages against an XML Schema.

In other words, even if an interface is based on a message type, which is ultimately defined by a schema, we cannot know whether or not messages on the interface are valid according to that schema.

Add it as the last mapping step, if you want to validate outbound (again, relative to the Integration Server) messages.

This blog entry discusses one approach to performing validation in XI.

Full source code is not provided; implementing the suggested solution is left as an exercise for the reader.

should never find its way into your mapping class; your code should only perform transformations on the message being processed.

Performing schema validation in Java code is fairly straightforward.

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “validating xml documents against xml schema”

  1. All these live web cam sex sites are live adult chat sites online and offer the best live college sex cams, best free live sex cams on any adult web cam site that is referenced below.

  2. These rare humans have the power to cast magic, the power to heal, and the power to craft alchemical weapons capable of starting wars..ending them.