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>
  | 
  | 
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823670#3823670

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823670


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to