Designer 10.7 | webMethods Service Development Help | Working with Variables
 
Working with Variables
 
Creating a Document Reference or a Document Reference List Variable
Using XML Namespaces and Namespace Prefixes with Variables
Assigning Display Types to String Variables
About Variable Constraints
A variable can be a String, String list, String table, document, document list, document reference, document reference list, Object, or Object list. Variables are used to declare the expected content and structure of service signatures, document contents, and pipeline contents. In addition to specifying the name and data type of a variable, you can set properties that specify an XML namespace, indicate whether the variable is required at runtime, and indicate whether the variable can be null at runtime.
Select a variable in the editor to set general properties and constraints for the variable. Specific properties in the Properties view are enabled or disabled, depending on the type of variable you have selected.
Note:
Do not use the % symbol in variable names. The % symbol is a reserved character because it is used in expressions for BRANCH steps and trigger filters.
Note:
Be careful when renaming variables. If a variable is used in pipeline mapping, renaming the variable might result in the pipeline containing a variable with the new name and a variable with the old name. In this situation, the variable with the old name would retain the pipeline mapping. To avoid this, refactor the variable instead. For more information about refactoring, see Refactoring Variable Names in Elements.