Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 95979 invoked from network); 2 Feb 2009 17:54:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Feb 2009 17:54:35 -0000 Received: (qmail 73235 invoked by uid 500); 2 Feb 2009 17:54:27 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 73209 invoked by uid 500); 2 Feb 2009 17:54:27 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 73200 invoked by uid 99); 2 Feb 2009 17:54:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2009 09:54:27 -0800 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [212.217.248.3] (HELO smtp2.skycom.se) (212.217.248.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2009 17:54:17 +0000 Received: from larsdell (unknown [89.160.14.241]) by smtp2.skycom.se (Postfix) with ESMTP id 9B1A35702C for ; Mon, 2 Feb 2009 18:53:53 +0100 (CET) From: =?iso-8859-1?Q?Lars_Ohl=E9n?= To: References: <60708f4b0902012203t7ef876depea4675e0c06c47d7@mail.gmail.com> Subject: SV: Java Code generated by wsdl2java gives a lot of warnings during compilation Date: Mon, 2 Feb 2009 18:53:54 +0100 Message-ID: <2651516C33004D85AD5F7CD8FA3FCAEA@larsdell> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0040_01C98567.99F425D0" X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcmE/B7KA/8ZVmH4QCqkVWtIfmiawQAYwvQg In-Reply-To: <60708f4b0902012203t7ef876depea4675e0c06c47d7@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------=_NextPart_000_0040_01C98567.99F425D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable We are using Axis2 =20 /Lars =20 _____ =20 Fr=E5n: Amila Suriarachchi [mailto:amilasuriarachchi@gmail.com]=20 Skickat: den 2 februari 2009 07:04 Till: axis-user@ws.apache.org =C4mne: Re: Java Code generated by wsdl2java gives a lot of warnings = during compilation =20 Are you using Axis2 or Axis1? thanks, Amila. On Sat, Jan 31, 2009 at 6:51 PM, Lars Ohl=E9n wrote: Hi all, =20 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. =20 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. =20 But I saw something about changing templates, and something about a = Maven based generation tool. Has anyone successfully used some of these? =20 Any suggestions or ideas appreciated =20 =20 BR =20 Lars =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 --=20 Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ ------=_NextPart_000_0040_01C98567.99F425D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

We are using = Axis2

 

/Lars

 


Fr=E5n: Amila Suriarachchi [mailto:amilasuriarachchi@gmail.com]
Skickat: den 2 februari = 2009 07:04
Till: = axis-user@ws.apache.org
=C4mne: 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=E9n <lars@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.blogsp= ot.com/

------=_NextPart_000_0040_01C98567.99F425D0--