Topic
1 reply Latest Post - ‏2013-01-31T10:28:14Z by SystemAdmin
SystemAdmin
SystemAdmin
6772 Posts
ACCEPTED ANSWER

Pinned topic How to extract the error message displayed in B2B System Log Viewer

‏2013-01-28T13:12:28Z |
Hi,

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
Updated on 2013-01-31T10:28:14Z at 2013-01-31T10:28:14Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    6772 Posts
    ACCEPTED ANSWER

    Re: How to extract the error message displayed in B2B System Log Viewer

    ‏2013-01-31T10:28:14Z  in response to SystemAdmin
    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.