Quantcast
Channel: Symantec Connect - ブログエントリ
Viewing all articles
Browse latest Browse all 5094

Using Reserved Words with the Web Service Generator in Workflow

$
0
0

When creating a set of new components based off the Web Service Caller Generator (as shown below),

image001_7.png

Errors can occur if, on the last page of the generator (as shown below), component properties are named with words like “new”, “finally”, “byte”, “interface” etc.

 

image003_8.png

 

Cause:

Many words are reserved  or protected, and may NOT be used in component names and properties.

The list of reserved words that we check for are:

                "abstract",

                "event",

                "new",

                "struct",

                "as",

                "explicit",      

                "null",

                "switch",

                "base",

                "extern",

                "object",

                "this",

                "bool",

                "false",

                "operator",

                "throw",

                "break",

                "finally",

                "out",

                "true",

                "byte",

                "fixed",

                "override",

                "try",

                "case",

                "float",

                "params",

                "typeof",

                "catch",

                "for",

                "private",

                "uint",

                "char",

                "foreach",

                "protected",

                "ulong",

                "checked",

                "goto",

                "public",

                "unchecked",

                "class",

                "if",

                "readonly",

                "unsafe",

                "const",

                "implicit",

                "ref",

                "ushort",

                "continue",

                "in",

                "return",

                "using",

                "decimal",

                "int",

                "sbyte",

                "virtual",

                "default",

                "interface",

                "sealed",

                "volatile",

                "delegate",

                "internal",

                "short",

                "void",

                "do",

                "is",

                "sizeof",

                "while",

                "double",

                "lock",

                "stackalloc",

                "else",

                "long",

                "static",

                "enum",

                "namespace",

                "string",

                "System"

             

If you encounter this problem, try to avoid the use of reserved words in this situation.  However, if you need to use them, simply place an “@” symbol in front of the reserved word.  This will allow them to be used as component property names.  Examples would be “@new”, “@finally”, “@byte”, “@interface” etc.


Viewing all articles
Browse latest Browse all 5094

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>