Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 93661 invoked from network); 28 Nov 2006 19:31:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Nov 2006 19:31:48 -0000 Received: (qmail 92476 invoked by uid 500); 28 Nov 2006 19:31:53 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 92428 invoked by uid 500); 28 Nov 2006 19:31:53 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 92416 invoked by uid 99); 28 Nov 2006 19:31:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Nov 2006 11:31:53 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Nov 2006 11:31:43 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0BFC97142FA for ; Tue, 28 Nov 2006 11:31:23 -0800 (PST) Message-ID: <16910354.1164742283046.JavaMail.jira@brutus> Date: Tue, 28 Nov 2006 11:31:23 -0800 (PST) From: "Michael Bevilacqua-Linn (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-1781) WSDL2Java: Tries to create databindings twice when a XSD with type definitions is imported into both another XSD and a WSDL In-Reply-To: <14951340.1164741743389.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/AXIS2-1781?page=comments#action_12454088 ] Michael Bevilacqua-Linn commented on AXIS2-1781: ------------------------------------------------ Well, it looks like I can't edit my description, which is incomplete. WSDL2Java fails when the set of XML files it's trying to compile imports an XSD with data type definitions in multiple places. In the example I've included, one XSD is imported both into another XSD and a WSDL. WSDL2Java fails because it tries to create the databindings twice, (in this case XMLBeans). I've included both sample XML files that can recreate the problem, and the stacktrace I got. I was running WSDL2Java as follows: WSDL2Java -uri accountConcrete.wsdl -ss -sd -d xmlbeans -o test -p foo.bar.test > WSDL2Java: Tries to create databindings twice when a XSD with type definitions is imported into both another XSD and a WSDL > --------------------------------------------------------------------------------------------------------------------------- > > Key: AXIS2-1781 > URL: http://issues.apache.org/jira/browse/AXIS2-1781 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: codegen > Affects Versions: 1.1 > Environment: Any > Reporter: Michael Bevilacqua-Linn > Attachments: results.txt, WSDL.zip > > > We've got our type definitions broken out into multiple files. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org