on 03-14-2011 6:21 PM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to specify at the adapter level that you want XML validation to take place.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.