XML Business Rule Failure Response Code

Apr 6, 2010 at 4:02 PM
For the 'XML Business Rule Failure' use case, from the 'IAB e-Business Standards v1.1: Technical Specifications' document, should the response code returned in the acknowledgement message be the same value as the response code for the 'XML Success' use case? Can it be a different value to indicate a company business rule hasn't been meet? For example if '0' is the response code to indicate XML Success scenario, must '0' also be used for the XML Business Rule Failure scenario or can it be a '1'? The specifications state the message response standard doesn't support the communication of individual trading partner business rule failures through message responses. Does this statement only apply to the communication of the failure details or does it also include indication of the occurrence of a failure? Thanks, Sandy
Apr 6, 2010 at 4:49 PM

Acknowledgement schema has an Exception element.

In case of the XML Business Rule Failure, the Exception element could provide info. This will be the very efficient way to let the document sender know about problems with document processing.

Arkadiy Dikshteyn,

Harris Corporation.

Apr 13, 2010 at 5:27 PM

As per IAB_E-Business_Techinical_Specifications_1.2

Use Case Table(Page No:5)

ID Field:

We can use ID field value in response code to specify the type of Error in the Acknowledgement.

For example:  if an xml error and HTTP Header values mismatch.  

<Acknowledgement xmlns="http://ns.iab.net" xmlns:ebiz="http://ns.ebizformedia.com">


  <UniqueMessageID idOwner="Agency">







    <ExceptionMessage>Message ID Mismatch.</ExceptionMessage>



Similarly, we can use Response code 7 for Business rule failure

Response Code

Response Code( ID)

Use case


Complete Failure


Authentication Failure


Malformed Http Parameters


System Error


XML Error


XML Success


XML Business Rule Failure

Thanks, Rao