lable="true"/>
<element name="id4" type="long" minOccurs="1" nillable="false"/>
<element name="name1" type="string" minOccurs="0" nillable="true"/>
<element name="name2" type="string" minOccurs="0" nillable="false"/>
<element name="name3" type="string" minOccurs="1" nillable="true"/>
<element name="name4" type="string" minOccurs="1" nillable="false"/>
</sequence>
</complexType>
<complexType name="PersonResponse">
<sequence>
<element name="id" type="string" minOccurs="0"/>
</sequence>
</complexType>
<element name="GetPerson" type="sys:Person"></element>
<element name="GetPersonResponse" type="sys:PersonResponse"></element>
</schema>
id对应的是值类型,name对应的是引用类型
3.1.2 生成数据类
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18058")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://com.csii.bank.core/system")]
public partial class Person{
private System.Nullable<long> id1Field;
private bool id1FieldSpecified;
private long id2Field;
private bool id2FieldSpecified;
private System.Nullable<long> id3Field;
private long id4Field;
private string name1Field;
private string name2Field;
private string name3Field;
private string name4Field;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
public System.Nullable<long> id1 {
get {
return this.id1Field;
}
set {
this.id1Field = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool id1Specified {
get {
return this.id1FieldSpecified;
}
set {
this.id1FieldSpecified = value;
}
}
/// <remarks/>
public long id2 {
get {
return this.id2Field;
}
set {
this.id2Field = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool id2Specified {
get {
return this.id2FieldSpecified;
}
set {
this.id2FieldSpecified = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
public System.Nullable<long> id3 {
get {
return this.id3Field;
}
set {
this.id3Field = value;
}
}
/// <remarks/>
public long id4 {
get {
return this.id4Field;
}
set {
this.id4Field = value;
}
}
/// &l