Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 99976 invoked from network); 30 Oct 2006 15:00:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Oct 2006 15:00:34 -0000 Received: (qmail 81638 invoked by uid 500); 30 Oct 2006 15:00:40 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 81584 invoked by uid 500); 30 Oct 2006 15:00:40 -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 81492 invoked by uid 99); 30 Oct 2006 15:00:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Oct 2006 07:00:39 -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; Mon, 30 Oct 2006 07:00:25 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 73A517142D7 for ; Mon, 30 Oct 2006 06:59:17 -0800 (PST) Message-ID: <25693945.1162220357302.JavaMail.root@brutus> Date: Mon, 30 Oct 2006 06:59:17 -0800 (PST) From: "Davanum Srinivas (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-1552) Error parsing WSDL (Unsupported content Simple Type Union) In-Reply-To: <4239734.1162210756532.JavaMail.root@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-1552?page=all ] Davanum Srinivas updated AXIS2-1552: ------------------------------------ Summary: Error parsing WSDL (Unsupported content Simple Type Union) (was: Error parsing WSDL) > Error parsing WSDL (Unsupported content Simple Type Union) > ---------------------------------------------------------- > > Key: AXIS2-1552 > URL: http://issues.apache.org/jira/browse/AXIS2-1552 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: wsdl > Affects Versions: 1.0 > Environment: Windows XP, jdk1.5.0_04, Axis2 1.0 > Reporter: Marko Huttunen > Assigned To: Davanum Srinivas > Attachments: CompositePickList.zip, CompositeProductionOrder.zip > > > Hi! > I am working with two wsdl and trying to generate client side classes. WSDL2Java can process the other wsdl and its schemas fine, but not the other. It always ends up with an exception: > Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerationEngine.java:94) > at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) > at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) > Caused by: org.apache.axis2.AxisFault: java.lang.NullPointerException; nested exception is: > java.lang.RuntimeException: java.lang.NullPointerException > at org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL2AxisServiceBuilder.java:243) > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerationEngine.java:87) > ... 2 more > Caused by: java.lang.RuntimeException: java.lang.NullPointerException > at org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1916) > at org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1929) > at org.apache.ws.commons.schema.SchemaBuilder.handleInclude(SchemaBuilder.java:1752) > at org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:121) > at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:250) > at org.apache.axis2.description.WSDL2AxisServiceBuilder.getXMLSchema(WSDL2AxisServiceBuilder.java:959) > at org.apache.axis2.description.WSDL2AxisServiceBuilder.copyExtensibleElements(WSDL2AxisServiceBuilder.java:1067) > at org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL2AxisServiceBuilder.java:221) > ... 3 more > Caused by: java.lang.NullPointerException > at org.apache.ws.commons.schema.SchemaBuilder.handleSimpleType(SchemaBuilder.java:343) > at org.apache.ws.commons.schema.SchemaBuilder.handleSimpleType(SchemaBuilder.java:477) > at org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:104) > at org.apache.ws.commons.schema.SchemaBuilder.build(SchemaBuilder.java:53) > at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:255) > at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:217) > at org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1911) > ... 10 more > The log file doesn't provide any more details than this: [org.apache.axis2.wsdl.i18n.resource::handleGetObject(engine.wsdlParsingException)] > What is wrong with the other wsdl? > Br, > Marko Huttunen -- 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