cancel
Showing results for 
Search instead for 
Did you mean: 

XML Validation - How to raise an alert

ravi_kanakam
Explorer
0 Kudos

Hi PI Experts,

I enabled XML validation at "Validtion by Adapetr Engine". Its working fine. But how to integrate XML validation error with Alert Monitoring. Please advise.

Here below the error from Audit log:

2010-03-18 18:33:13 Information The application tries to send an XI message asynchronously using connection File_http://sap.com/xi/XI/System.

2010-03-18 18:33:13 Information Backward validation is enabled

2010-03-18 18:33:13 Error Unable to validate the message with message ID b01d356e-1801-4b93-29fb-9ed84b25c6a3

2010-03-18 18:33:13 Error Returning to application. Exception: com.sap.engine.interfaces.messaging.api.exception.MessageFormatException: cvc-enumeration-valid: Value '11' is not facet-valid with respect to enumeration '[1, 2, 3, 4, 5, 6, 7]'. It must be a value from the enumeration. at line 15, column 34

2010-03-18 18:33:13 Error MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessageFormatException: cvc-enumeration-valid: Value '11' is not facet-valid with respect to enumeration '[1, 2, 3, 4, 5, 6, 7]'. It must be a value from the enumeration. at line 15, column 34

2010-03-18 18:33:13 Error File processing failed with com.sap.engine.interfaces.messaging.api.exception.MessageFormatException: cvc-enumeration-valid: Value '11' is not facet-valid with respect to enumeration '[1, 2, 3, 4, 5, 6, 7]'. It must be a value from the enumeration. at line 15, column 34

Thanks...

Ravi Kanakam

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member200962
Active Contributor
0 Kudos

Create alert category in ALRTCATDEF and in RWB --> Alert Config define rule for catching alert in Adapter Engine.....

When the incomplete file is send (node missing) then it will be captured as an error and then using the normal procedure we can capture it.

Regards,

Abhishek.

ravi_kanakam
Explorer
0 Kudos

Abhishek,

Thanks for the suggestion. But I have already set up RWB alert rule. Error from XML validation at adapter engine is visible in message audit log. But not generating alert. Any more suggestions...

Thanks...

Ravi Kanakam

Former Member
0 Kudos

Hi Ravi,

Are you getting other adapter engine alerts? Or only you are not getting xml validation ones? Also take a look at this:

/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide

Regards,

---Satish