FieldDesc fd = new AttributeDesc();
fd.setFieldName("a");
fd.setXmlName(new QName("foo", "a"));
typeDesc.addFieldDesc(fd);
fd = new AttributeDesc();
fd.setFieldName("b");
fd.setXmlName(new QName("foo", "b"));
typeDesc.addFieldDesc(fd);
return typeDesc;