Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 26796 invoked from network); 7 Aug 2007 03:14:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Aug 2007 03:14:23 -0000 Received: (qmail 60382 invoked by uid 500); 7 Aug 2007 03:14:22 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 60363 invoked by uid 500); 7 Aug 2007 03:14:22 -0000 Mailing-List: contact cxf-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-issues@incubator.apache.org Received: (qmail 60354 invoked by uid 99); 7 Aug 2007 03:14:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2007 20:14:22 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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, 07 Aug 2007 03:14:14 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0F19E7141F3 for ; Mon, 6 Aug 2007 20:14:00 -0700 (PDT) Message-ID: <15124409.1186456440059.JavaMail.jira@brutus> Date: Mon, 6 Aug 2007 20:14:00 -0700 (PDT) From: "Paul Hanke (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Commented: (CXF-815) wsdl2java compiler gets stuck in a loop on complex XML schemas In-Reply-To: <20461646.1184892186301.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-815?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel#action_12518059 ]=20 Paul Hanke commented on CXF-815: -------------------------------- I have reported the issue of the invalid schemas to the OSS/J team - sorry = to have bothered you guys with this! :-( > wsdl2java compiler gets stuck in a loop on complex XML schemas > -------------------------------------------------------------- > > Key: CXF-815 > URL: https://issues.apache.org/jira/browse/CXF-815 > Project: CXF > Issue Type: Bug > Components: Tooling > Affects Versions: 2.0-RC, 2.0 > Environment: Java 1.5; Windows 2003; VMware Workstation 5.5 > Reporter: Paul Hanke > Assignee: jimma > Priority: Minor > Attachments: ossj-wsdl.zip > > > wsdl2java compiler gets stuck in a loop on complex XML schemas. Compiled= the WSDL for the OSS/J Common API just fine. This WSDL imports a single f= lat XSD. Next, I took the Common API WSDL as a template and started writin= g a WSDL for the OSS/J Trouble Ticket API. This WSDL imports an XSD which = in turn imports other XSDs which in turn import other XSDs and so on (some = XSDs are multiply imported in this dependency graph). When I tried compili= ng the Trouble Ticket WSDL, the WSDL compiler started eating up 99% of the = CPU (the memory footprint stayed steady at roughly 50M) and showed no signs= of stopping (I eventually terminated the process). I modified the Trouble= Ticket WSDL, commenting out the message, port type, and binding declaratio= ns as well as replacing the port in the service declaration with the port t= ype from the Common WSDL - this just left the XSD import statement from the= original WSDL. I tried compiling the Trouble Ticket WSDL again, and the W= SDL compiler still started eating up 99% of the CPU with no signs of stoppi= ng. As a final test, I put the Trouble Ticket WSDL back the way I initiall= y had it and ran it through the Axis2 WSDL compiler - the Axis2 WSDL compil= er didn't even blink while generating all the bindings/stubs/skeletons. =20 --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.