Return-Path: Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: (qmail 51436 invoked from network); 14 Dec 2010 16:38:43 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Dec 2010 16:38:43 -0000 Received: (qmail 50188 invoked by uid 500); 14 Dec 2010 16:38:42 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 50034 invoked by uid 500); 14 Dec 2010 16:38:40 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Delivered-To: moderator for dev@cxf.apache.org Received: (qmail 9462 invoked by uid 99); 14 Dec 2010 16:20:06 -0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kayserparis@gmail.com designates 209.85.213.169 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=8ST0YrsfC3YGsZkMJLV6EVggMLg0nxhGV5+4zXTus0o=; b=gBOn8TQGljyIlG8dBANSPaQBsTO32kshZYjG/EYEFH67WTe+1xFK4QmSrs5xhJfOXq Eac1WYTQBtvNYhcBdyyKiBEqDsNshfukBsNgPStxIJMmEJ8D8GcrjTsrpjC1WoZUZnG7 3Ob5250SudWIOdfXbEa9U020mvyJBkogP2Psk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=mF7GRFtmzIj7Bawg3MS/aMl4xL4EbQLF2gVnda/fG6Xfz2fm7un/4X2+OK3rMZdYke GBjLXxEHi2vJQJpEnN63xCe6TflRSMJ3eSYUrh1p+GEY6lmtzmja1kCK3tyDIXoVxYfr /Wh1h1q50ixNdLqiiMuF/jm/gYyVfG4qeGMMo= MIME-Version: 1.0 Date: Tue, 14 Dec 2010 17:19:38 +0100 Message-ID: Subject: wsdl2java version 2.3.1 From: aaa aaa To: dev@cxf.apache.org Content-Type: multipart/alternative; boundary=000e0cd3e49ef039220497612f5b --000e0cd3e49ef039220497612f5b Content-Type: text/plain; charset=ISO-8859-1 Hello, I am new to Apache CXF. I tried it few months ago with Apache CXF 2.3.0, with a contract first approach. Now that the version 2.3.1 is released, I used again the wsdl2java tools to check for differences. I encounter a compilation error on the generated Service class. This come from the new features: public SwafeService(WebServiceFeature ... features) { super(WSDL_LOCATION, SERVICE, features); } public SwafeService(URL wsdlLocation, WebServiceFeature ... features) { super(wsdlLocation, SERVICE, features); } public SwafeService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) { super(wsdlLocation, serviceName, features); } I have resolved the problem by switching to a Java 7 JVM or deleting this generated code. It would be good to add a notification/warning on the wdsl2java tool page and/or on the changelog. I think migration from Java 5 to Java 7 is a big change that would deserve it. Or maybe rather put an option in the wsdl2java tool to explicitly add or not this new feature. Regards, Kayser --000e0cd3e49ef039220497612f5b--