It looks so, though all I wanted was just to add @SuppressWarnings annotation to generated Stub. The only way I have in mind is to dig into java2wsdl code, modify it and recompile...
On Tue, Jan 20, 2009 at 11:52 AM, Kamal Chandana Mettananda < [email protected]> wrote: > I'm not sure whether there's any workaround for this, and I doubt. > > --------------------------------------- > > http://lkamal.blogspot.com > > > > On Tue, Jan 20, 2009 at 3:15 PM, Gennady Shumakher > <[email protected]>wrote: > >> Maybe your turned off warnings. I am working with eclipse and here are >> just some examples: >> >> public static org.apache.axis.encoding.Serializer >> getSerializer(...java.lang.Class _javaType....) >> Warning: References to generic type Class<T> should be parameterized >> >> private static java.util.Collection _myOperationsList = new >> java.util.ArrayList(); >> Warning: Collection is a raw type. References to generic type >> Collection<E> should be parameterized >> >> private static java.util.HashMap _table_ = new java.util.HashMap(); >> Warning: References to generic type HashMap<K,V> should be parameterized >> >> >> On Tue, Jan 20, 2009 at 11:34 AM, Kamal Chandana Mettananda < >> [email protected]> wrote: >> >>> Hi, >>> >>> I have been using axis 1.4 with java 5, but not sure what warnings you >>> are receiving due to java 5? >>> >>> Kamal >>> >>> --------------------------------------- >>> >>> http://lkamal.blogspot.com >>> >>> >>> >>> >>> >>> On Fri, Jan 16, 2009 at 10:20 PM, Gennady Shumakher < >>> [email protected]> wrote: >>> >>>> Hi, >>>> >>>> We are using axis 1.4 and I wonder is there a way to customize wsdl2java >>>> class generation process? >>>> Are there any templates that could be modified or everything is buried >>>> in the code? >>>> >>>> My main problem is a huge number of warnings when the rest of the >>>> project is in java 5. >>>> >>>> Thanks, >>>> Gennady >>>> >>> >>> >> >
