cancel
Showing results for 
Search instead for 
Did you mean: 

XML Schema Validation

Former Member
0 Kudos

Hi Experts,

I need to validate XML Schema for XSD in PI 7.0.

How can I achieve this?

I found so many threads, but seems to be incomplete.

I dont want to do this in receiver determination, since the XSD is complicated.

Please suggest.

Thanks,

Sushama

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member241146
Active Participant
0 Kudos

Hi Sushama.

You can do a Java Mapping to validade it.

Above the link:

XI schema validation using DOM parser via Java code

http://wiki.sdn.sap.com/wiki/display/XI/XIschemavalidationusingDOMparserviaJavacode

Validations using Java for those not having PI7.1

/people/ranjit.deshmukh/blog/2008/01/14/validations-using-java-for-those-not-having-pi71

Regards.

Bruno

Former Member
0 Kudos

Hi,

In 7.0 we have option for validating the XML Payload with XSD only in Integration Engine. Thatz by default.

In 7.1 we have options to select whee to be done the validation of XSD

Sine u dnt want to do in the receiver determination, fine u can easily do it in the mapping..

Go for a small java class and validate the XSD.

By default Graphical mapping will throw error is they are not matching. If u want to throw explicitly error are something else go for Java or XSLT Mapping

Babu

rajasekhar_reddy14
Active Contributor
0 Kudos

in PI7.1 we do have an option validate at AE,IE level, but i am not sure about PI7.0.