Our scenario is to validate an incoming AS2 file using XSD and to send the error message back, if any.
The XSD validation is happening correctly using the 'Validate Action' in the MPGW policy and can view the error messages on the B2B Viewer Probe Logs.
But these error messages cannot be extracted using a Service Variable - 'var://service/error-message' which is holding a string - 'Dynamic Execution Error' and cannot see the actual error message appearing on the B2B Viewer.
Could you please help us to extract the error message getting displayed on the Viewer.
Platform Details - XB62, B2B Appliance
Many thanks - Senthil
Pinned topic How to extract the error message displayed in B2B System Log Viewer
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-01-31T10:28:14Z at 2013-01-31T10:28:14Z by SystemAdmin
SystemAdmin 110000D4XK6772 Posts
Re: How to extract the error message displayed in B2B System Log Viewer2013-01-31T10:28:14ZThis is the accepted answer. This is the accepted answer.Just to clarify, when I go to view logs, it clearly states that validation has failed and gives a description of the error, ie field x is not expected.
Is there a way to get this error message into a service / context variable, so that I can then use the error message in my error xsl.