Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 85535 invoked from network); 17 Feb 2007 10:17:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Feb 2007 10:17:30 -0000 Received: (qmail 54989 invoked by uid 500); 17 Feb 2007 10:17:37 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 54241 invoked by uid 500); 17 Feb 2007 10:17:34 -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 54227 invoked by uid 99); 17 Feb 2007 10:17:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Feb 2007 02:17:34 -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; Sat, 17 Feb 2007 02:17:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C8B5C7141E6 for ; Sat, 17 Feb 2007 02:17:05 -0800 (PST) Message-ID: <6781357.1171707425819.JavaMail.jira@brutus> Date: Sat, 17 Feb 2007 02:17:05 -0800 (PST) From: "Amila Chinthaka Suriarachchi (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Resolved: (AXIS2-1681) SchemaCompilationException: Type missing! In-Reply-To: <27679233.1163279617019.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 [ https://issues.apache.org/jira/browse/AXIS2-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amila Chinthaka Suriarachchi resolved AXIS2-1681. ------------------------------------------------- Resolution: Fixed with the addition of enumeration support this works fine now. > SchemaCompilationException: Type missing! > ----------------------------------------- > > Key: AXIS2-1681 > URL: https://issues.apache.org/jira/browse/AXIS2-1681 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: wsdl > Affects Versions: 1.0 > Environment: Mac OS X Java is java version "1.5.0_06" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112) > Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing) > Reporter: Patrick Podenski > Assigned To: Amila Chinthaka Suriarachchi > Attachments: er.wsdl, Person.wsdl, Person.xsd > > > Exception occurs when trying to generate Java code for a simple WSDL with imported XML Schema. > This example generates correctly using Axis 1.3 in Eclipse 3.2.1 + WTP 1.5.1. > I will enclose the related WSDL and XSD files. Note that the same error occurs when the XML Schema is inlined in the WSDL. > The exact script used is as follows (defaults to adb): > WSDL2Java.sh -uri Person.wsdl -ss -sd > And the resultant exception and stack trace follows: > Retrieving schema at 'Person.xsd'. > l > Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: org.apache.axis2.schema.SchemaCompilationException: Type missing! > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:185) > at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) > at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) > Caused by: java.lang.RuntimeException: org.apache.axis2.schema.SchemaCompilationException: Type missing! > at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:117) > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:140) > ... 2 more > Caused by: org.apache.axis2.schema.SchemaCompilationException: Type missing! > at org.apache.axis2.schema.writer.JavaBeanWriter.addPropertyEntries(JavaBeanWriter.java:464) > at org.apache.axis2.schema.writer.JavaBeanWriter.populateInfo(JavaBeanWriter.java:426) > at org.apache.axis2.schema.writer.JavaBeanWriter.getBeanElement(JavaBeanWriter.java:403) > at org.apache.axis2.schema.writer.JavaBeanWriter.process(JavaBeanWriter.java:320) > at org.apache.axis2.schema.writer.JavaBeanWriter.write(JavaBeanWriter.java:175) > at org.apache.axis2.schema.SchemaCompiler.writeComplexType(SchemaCompiler.java:634) > at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:620) > at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:577) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:366) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:334) > at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:915) > at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:878) > at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:643) > at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:616) > at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:577) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:366) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:334) > at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:915) > at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:878) > at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:643) > at org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:594) > at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:579) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:366) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:344) > at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:226) > at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:181) > at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:70) > ... 3 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org