B2B Integration 10.4 | Administering and Monitoring B2B Transactions | Service Development Help | Working with Variables | About Variable Constraints | Considerations for Object Constraints
 
Considerations for Object Constraints
Constraints for Object and Object list variables correspond to Java classes, whereas constraints for String variables correspond to simple types in XML schemas. When you apply constraints to Objects and perform validation, the data is validated as being of the specified Java class. For details on the Java classes you can apply to an Object or Object list, see Java Classes for Objects.
A constrained Object is validated when one of the following occur:
*A service runs with the Validate input or Validate output check box selected on the Input/Output tab.
*A service runs via the INVOKE step in a flow service with the Validate input or Validate output properties set on the INVOKE step.
*The pub.schema:validate service runs.
*A document is published. When this occurs, the contents of the document are validated against the specified document type.
*During debugging, when you enter values for a constrained Object or Object list in the Input dialog box.
*When you assign a value to an Object or Object list variable in the Pipeline view using on the toolbar.

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