webMethods 10.2 | Service Development Help | Working with Variables | About Variable Constraints | Viewing the Constraints Applied to Variables
 
Viewing the Constraints Applied to Variables
Designer displays small symbols next to a variable icon to indicate the constraints applied to the variable. Designer displays variables in the following ways:
Variable
Constraint status
Variable Properties
Required field.
The Required property is set to True.
Optional field.
The Required property is set to False.
Required field with content type constraint.
The Content type property specifies an IS schema or XML schema.
Optional field with content type constraint
The Required property is set to False and the Content type property specifies an IS schema or XML schema.
Required field with default value.
The Required property is set to True. The variable has a default value, but you can override this default value with any other valid values while executing the service or mapping the variables.
Required field with fixed default value of null.
The Required property is set to True. You cannot override the default null value assigned to the variable by mapping it to another variable or by assigning any input values to this variable during service execution.
Note: By default, Designer hides the variables with this constraint. To display these variables in the content and structure of service signatures, document and pipeline contents, and in the Run Configurations, Enter Input for serviceName, and Enter Input for variableName dialog boxes, select the Show variables with fixed values property on the Service Development Preferences page.
Required field with fixed default value.
The Required property is set to True. You cannot override the default value assigned to the variable by mapping it to another variable or by assigning any input values to this variable during service execution.
Note: By default, Designer hides the variables with this constraint. To display these variables in the content and structure of service signatures, document and pipeline contents, and in the Run Configurations, Enter Input for serviceName, and Enter Input for variableName dialog boxes, select the Show variables with fixed values property on the Service Development Preferences page.
Note: Designer displays the ‡ symbol next to String, String List, and String table variables with a content type constraint only. Designer does not display the ‡ symbol next to Object and Object list variables with a specified Java class constraint. Object and Object lists with an applied Java class constraint have a unique icon. For more information about icons for constrained Objects, see Java Classes for Objects.

Copyright © 2017-2018 | 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