Good Evening Lars- You may not use generics on a pre5 JVM http://java.sun.com/j2se/1.5.0/docs/guide/language/generics.html
One possible solution would be to backport to 1.4 but I would advise not to do so.. Can you display the code so we can run it here??? Sverige Altid/ Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. From: l...@ohlen.se To: axis-user@ws.apache.org Subject: SV: Java Code generated by wsdl2java gives a lot of warnings during compilation Date: Mon, 2 Feb 2009 18:53:54 +0100 We are using Axis2 /Lars Från: Amila Suriarachchi [mailto:amilasuriarach...@gmail.com] Skickat: den 2 februari 2009 07:04 Till: axis-user@ws.apache.org Ämne: Re: Java Code generated by wsdl2java gives a lot of warnings during compilation Are you using Axis2 or Axis1? thanks, Amila. On Sat, Jan 31, 2009 at 6:51 PM, Lars Ohlén <l...@ohlen.se> wrote: Hi all, The Java source code generated by wsdl2java gives a lot of warnings during compilation. (Mostly type problems with generics). We use java 1.5 as target, but the code generated seems to generated to be compatible with older versions. I have seen some questions about this in the passed, with suggestions like adding annotations etc to ignore the warnings (and of course manually fixing all the problems), Neither of the solutions are appealing. But I saw something about changing templates, and something about a Maven based generation tool. Has anyone successfully used some of these? Any suggestions or ideas appreciated BR Lars -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ _________________________________________________________________ Hotmail® goes where you go. On a PC, on the Web, on your phone. http://www.windowslive-hotmail.com/learnmore/versatility.aspx#mobile?ocid=TXT_TAGHM_WL_HM_versatility_121208