Serialized XML Object Missing Elements
From Logic Wiki
For these types, and some others, there was an extra property in place within the generated classes. For instance, if one of the properties that wasn't working was named "Property1", then there was another property named "Property1Specified". The serialization would ignore those properties unless the "...Specified" one was set to true. Setting all of those properties specified properties to true now allows the serialization to display all expected elements.
[System.Xml.Serialization.XmlAttributeAttribute()]
public int bal {
get {
return this.balField;
}
set {
this.balField = value;
}
}
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool balSpecified {
get {
return this.balFieldSpecified;
}
set {
this.balFieldSpecified = value;
}
}