Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 84246 invoked from network); 21 Jan 2011 23:47:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Jan 2011 23:47:05 -0000 Received: (qmail 41050 invoked by uid 500); 21 Jan 2011 23:47:05 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 41012 invoked by uid 500); 21 Jan 2011 23:47:04 -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 41004 invoked by uid 99); 21 Jan 2011 23:47:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jan 2011 23:47:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jan 2011 23:47:04 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0LNkhQh021836 for ; Fri, 21 Jan 2011 23:46:43 GMT Message-ID: <29939373.119481295653603488.JavaMail.jira@thor> Date: Fri, 21 Jan 2011 18:46:43 -0500 (EST) From: "Gladwin (JIRA)" To: issues@cxf.apache.org Subject: [jira] Created: (CXF-3269) nice to have a tool xsd2java MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 nice to have a tool xsd2java ---------------------------- Key: CXF-3269 URL: https://issues.apache.org/jira/browse/CXF-3269 Project: CXF Issue Type: Wish Components: Tooling Reporter: Gladwin Priority: Minor Fix For: 2.2.13, 2.4, 2.3.3, 2.3.4 In a scenario where by multiple wsdl's refer to same schema, it would be nice to separate the process of generating service from WSDL (with option {{-nexclude schema-namespace [=java-packagename]}}) v/s generating JAXB mapping POJOs with {{xsd2java}}. For this we would need a tool *xsd2java* which is similar to *wsdl2java* but instead would generate java code from XSD URL. {{xjc}} tool that comes with JDK will do the trick but does not have advance options like multiple {{-p [ wsdl-namespace= ] PackageName}}, {{-autoNameResolution}}, etc. Further more this will help CXF to be used in non webservice scenarios where XML data exchange takes place and JAXB mapping POJOs needs to be generated from XSD. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.