This article reprinted: http://www.cnblogs.com/yjf512/archive/2010/06/04/1751369.html
The generated proxy class generates a bool type attribute for each Enumeration type attribute at the same time.
For example, for the "packagingtype" attribute, a "packagingtypespecified" attribute of the bool type is generated simultaneously,The default value is false. If this value is false, the corresponding enumeration attributeWill not appear in orderColumnized requests.
Therefore, the serialization of the proxy class may not serialize the enumeration type, one of the reasons may be to set this bool type to false
This may be required to meet the requirement that the enumerated value result is "null" or you do not need to set the enumerated value.
The generated proxy class generates a bool type attribute for each Enumeration type attribute at the same time.
For example, for the "packagingtype" attribute, a "packagingtypespecified" attribute of the bool type is generated simultaneously,The default value is false. If this value is false, the corresponding enumeration attributeWill not appear in orderColumnized requests.
Therefore, the serialization of the proxy class may not serialize the enumeration type, one of the reasons may be to set this bool type to false
This may be required to meet the requirement that the enumerated value result is "null" or you do not need to set the enumerated value.