I have this schema while teh following sequence
<complexType name="SetOfTasks" mixed="true">
<sequence>
<choice minOccurs="1" maxOccurs="unbounded">
<element minOccurs="0" ref="tns:task1" />
<element minOccurs="0" ref="tns:task2" />
<element minOccurs="0" ref="tns:task3" />
<element minOccurs="0" ref="tns:task4" />
<element minOccurs="0" ref="tns:task5" />
<element minOccurs="0" ref="tns:task6" />
<element minOccurs="0" ref="tns:task7" />
<element minOccurs="0" ref="tns:load_inputs" />
<element minOccurs="0" ref="tns:task8" />
<element minOccurs="0" ref="tns:task9" />
</choice>
</sequence>
</complexType>
where the element input is describe in the following way
<element name="load_inputs" type="tns:LoadInputsType">
<annotation>
<documentation>
A parallel loading of 2 or more inputs.
</documentation>
</annotation>
</element>
<complexType name="LoadInputsType">
<sequence>
<element minOccurs="1" maxOccurs="unbounded" ref="tns:load">
<annotation>
<documentation>
Copies input data into specified EBS component.
</documentation>
</annotation>
</element>
</sequence>
When i applie the xds.exe genarete the respective serialize class , but when execute the deserialize method the elements load_inputs not are readed or not loaded fo r th respective object
public class LoadType {
/// <remarks/>
[System.Xml.Serialization.XmlAttributeAttribute(Dat aType="IDREF")]
public string inputID;
}
/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespac e="http://www.criticalsoftware.com/TC_schema")]
public class SetOfTasks {
....
[System.Xml.Serialization.XmlElementAttribute("exec _sql", typeof(SQLType))]
....
public object[] Items;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("Item sElementName")]
[System.Xml.Serialization.XmlIgnoreAttribute()]
public ItemsChoiceType[] ItemsElementName;
}
...
[System.Xml.Serialization.XmlElementAttribute("load ")]
public LoadType[] load;
Can any one help me
Thanks