// since soap encoding does not enforce the name of the children items
// here we use item as the child name.
// all the list objects must be ADBBeans for basic schema types such as
// int,float corresponding soapencoding class must be used
ADBBean adbBean;
for (Iterator iter = objectList.iterator(); iter.hasNext();) {
adbBean = (ADBBean) iter.next();
if (adbBean != null) {
if (arrayTypeQName != null) {
// if the array Type is given then each element does not have to
// write the type
adbBean.serialize(new javax.xml.namespace.QName("", CHILD_LOCAL_NAME), factory, xmlWriter);
} else {
adbBean.serialize(new javax.xml.namespace.QName("", CHILD_LOCAL_NAME), factory, xmlWriter, true);
}
} else {
//write the null attribute
writeStartElement("", CHILD_LOCAL_NAME, null, xmlWriter);