To those folks updating the CVS source for the xdoclet-jboss.net modules,
would it be possible for you to modify the jboss-net_xml_tail.xdt and replace it with the following?
This version automatically creates a typemapping for arrays of value-object classes. The added code has been highlighted in bold.
I suppose the same treatment could be given to the xml-schema tags in the jboss-net_ejb_xml.xdt file, but I have no need for those at this time.
. <!-- The following are typemappings for bean-type value-objects --> <XDtClass:forAllClasses type="java.io.Serializable"> <XDtType:ifIsNotOfType type="javax.ejb.EntityBean"> <XDtType:ifIsNotOfType type="javax.ejb.SessionBean"> <XDtClass:ifHasClassTag tagName="jboss-net:xml-schema"> <!-- Add class definition --> <typeMapping qname="<XDtClass:classTagValue tagName='jboss-net:xml-schema' paramName='urn'/>" type="java:<XDtClass:fullClassName/>" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> <!-- Add array definition --> <typeMapping qname="<XDtClass:classTagValue tagName='jboss-net:xml-schema' paramName='urn'/>_Array" type="java:<XDtClass:fullClassName/>[]" serializer="org.apache.axis.encoding.ser.ArraySerializerFactory" deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> </XDtClass:ifHasClassTag> </XDtType:ifIsNotOfType> </XDtType:ifIsNotOfType> </XDtClass:forAllClasses> <!-- There follow merged custom web service descriptions --> <XDtMerge:merge file="web-service.xml"> </XDtMerge:merge> </deployment>
FYI. This has been posted as a patch in the Jboss section of sourceforge.