When creating a set of new components based off the Web Service Caller Generator (as shown below),
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.
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.