B2B Integration 10.4 | Administering and Monitoring B2B Transactions | Service Development Help | Performing Data Validation | Validation Errors
 
Validation Errors
During data validation, the validation engine generates errors when it encounters values that do not conform to the structural and content constraints specified in the blueprint. The format in which the validation engine returns errors depends on whether validation was performed using the built-in services or by checking the declared input and output parameters for the service.
*When the validation engine performs data validation by executing the built-in services pub.schema:validate or pub.schema:validatePipeline, errors are returned in the errors output variable (an IData list). For each validation error, the errors variable lists the error code, the error message, and the location of the error.
*When the validation engine performs validation by comparing run-time data to the declared input and output parameters, the validation engine returns all the validation errors in a string. This string contains the error code, error message, and error location for each error found during input/output validation.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release