Set error codes for content validation
With the mapping transformation with Response Type as Full, you can set the error code when the validation of the contents fails. The output of the transformation is a document which contains the updated transaction object with the error code.
For example, in case of extra validation of requests like semantic validation using XPath, it sets the error code if it fails. With the Full mapping type, the error code is updated in the transaction object. The request message processing follows the error handler path in the request processing pipeline, and is sent back to the original requester with the error message. See Implementing Request Validation.
Copyright © Cloud Software Group, Inc. All rights reserved.