cancel
Showing results for 
Search instead for 
Did you mean: 

Question regarding restrictions on xml message content

Former Member
0 Kudos

Hi,

suppose we have an inbound interface in PI (7.1) which has a String field with a maxLength=5 restriction, does PI actually check that incomming messages follow this restriction... XML schema validation or something of the sort ?

If not, how do we prevent a client of the interface sending data which doesn't follow the restriction ?

Do we have to check each field in the mapping ?

Thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

naveen_chichili
Active Contributor
0 Kudos

HI Thierry,

The validation of incoming and outgoing PI message payload structure is done against saved Data type.Also The Syntax validation of the incoming message is done in Adapter Engine Level against the XML schema stored in File System.

you can validate and then send to the Adapter.Please refer the blog which Martin has already mentioned.

Thanks,

Naveen.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>>does PI actually check that incomming messages follow this restriction... XML schema validation or something of the sort ?

Yes, PI 7.1 does that. Go to Sender agreement or receiver agreement and choose schema validation. Validation can be triggered adapter engine level or integration engine level.

Former Member
0 Kudos

You need to specify at the adapter level that you want XML validation to take place.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d026d253-3108-2c10-69a0-a5460fc1f...