* @param clazz the java class for the type
* @return the JaxRpcTypeInfo object
* @throws OpenEJBException if the schema is invalid
*/
private JaxRpcTypeInfo createTypeInfo(final QName qname, final XmlTypeInfo xmlTypeInfo, final Class clazz) throws OpenEJBException {
final SerializerType serializerType;
if (xmlTypeInfo.listType) {
serializerType = SerializerType.LIST;
} else if (clazz.isArray()) {
serializerType = SerializerType.ARRAY;
} else if (xmlTypeInfo.enumType) {