Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 70501 invoked from network); 1 Apr 2011 21:21:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Apr 2011 21:21:43 -0000 Received: (qmail 78512 invoked by uid 500); 1 Apr 2011 21:21:43 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 78464 invoked by uid 500); 1 Apr 2011 21:21:43 -0000 Mailing-List: contact issues-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 issues@cxf.apache.org Received: (qmail 78456 invoked by uid 99); 1 Apr 2011 21:21:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 21:21:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 21:21:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B24FD8EF0B for ; Fri, 1 Apr 2011 21:21:05 +0000 (UTC) Date: Fri, 1 Apr 2011 21:21:05 +0000 (UTC) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Message-ID: <285506972.29518.1301692865727.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1211076382.7254.1300913945757.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CXF-3416) Have wsdl2java generate a constructor that sets all fields MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-3416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp resolved CXF-3416. ------------------------------ Resolution: Won't Fix Fix Version/s: Invalid I'm going to mark this "Won't Fix". This is really a JAXB/XJC issue. HOWEVER, there exists and XJC plugin that can already do this: http://java.net/projects/jaxb2-commons/pages/value-constructor That plugin can be used along with CXF's wsdl2java tooling to accomplish this. > Have wsdl2java generate a constructor that sets all fields > ---------------------------------------------------------- > > Key: CXF-3416 > URL: https://issues.apache.org/jira/browse/CXF-3416 > Project: CXF > Issue Type: Improvement > Components: Soap Binding > Reporter: Dobes Vandermeer > Fix For: Invalid > > > Be nice to have the data classes generated by wsdl2java so that you can construct them easily, either by having a constructor to fill in all the fields or have the setters return "this" so you can chain them together. Otherwise constructing a tree objects becomes quite a lot of work. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira