I figured it out.  
  The web server servlet class and remote interface still use String[] as a 
function return type.  The StringArray.java class is generated from the 
wscompile step and is not referenced from the java code.  I had to hand modify 
the mapping file and add an entry for the StringArray class.  It would be nice 
if this entry was generated from wscompile (Maybe there is an option?).  The 
new xml is added to the mapping .xml file after the package mappings.  Now to 
learn complex object passing.

<!--  Hand inserted Code  -->
<java-xml-type-mapping>
<java-type>java.lang.String[]</java-type>
<root-type-qname 
xmlns:typeNS="http://mil.tis.demo.types/arrays/java/lang";>typeNS:StringArray</root-type-qname>
<qname-scope>complexType</qname-scope>
</java-xml-type-mapping>

  

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to