Thanks Jason. I didn't try wscompile. I used option -uliteral in java2WSDL and deployed to JBoss 4.0.1 again, the problem remains same.
the signature of the service has the following format: String [] method1( arg1, arg2); I think the type of ArrayOf_xsd_string is generated to reflect return type String[] by java2WSDL. Maybe this problem could be sovled by wrapping the String [] into a class. I really want to reuse the exisitng code. in the WSDL file the target namespace of ArrayOf_xsd_string is targetNamespace="http://wsdl.phaselc.org". does it prevent Jboss from using java.lang.String? any setting in the mapping file or other descriptor files or configration files could help Jboss to deal with it correctly? hope to get response again and thanks in advance! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870310#3870310 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870310 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user