Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 99320 invoked from network); 20 Oct 2006 16:44:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Oct 2006 16:44:36 -0000 Received: (qmail 23526 invoked by uid 500); 20 Oct 2006 16:44:32 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 23486 invoked by uid 500); 20 Oct 2006 16:44:32 -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 23475 invoked by uid 99); 20 Oct 2006 16:44:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Oct 2006 09:44:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Oct 2006 09:44:31 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EA3F671431D for ; Fri, 20 Oct 2006 09:43:34 -0700 (PDT) Message-ID: <16585068.1161362614939.JavaMail.jira@brutus> Date: Fri, 20 Oct 2006 09:43:34 -0700 (PDT) From: "Gul Onural (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS2-1470) wsdl2java fails to generate code complex wsdl files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N wsdl2java fails to generate code complex wsdl files ---------------------------------------------------- Key: AXIS2-1470 URL: http://issues.apache.org/jira/browse/AXIS2-1470 Project: Apache Axis 2.0 (Axis2) Issue Type: Bug Components: Tools Affects Versions: 1.1 Environment: Windows XP Reporter: Gul Onural Running wsdl2java on the ExampleService.wsdl generates exception : D:\test>wsdl2java -uri ExampleService.wsdl Using AXIS2_HOME: D:\axis2-std-1.1-SNAPSHOT-bin Using JAVA_HOME: C:\Program Files\Java\jdk1.5.0_08 Retrieving document at 'ExampleBindings.wsdl', relative to 'file:/D:/test/'. Retrieving document at 'ExamplePortTypes.wsdl', relative to 'file:/D:/test/ExampleBindings.wsdl'. Retrieving schema at 'ExampleCommonTypes.xsd', relative to 'file:/D:/test/ExamplePortTypes.wsdl'. Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerationEngine.java:112) 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: null; nested exception is: java.lang.NullPointerException at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:24 6) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerationEngine.java:103) ... 2 more Caused by: java.lang.NullPointerException at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.generateWrapperSchema(WSDL11ToAxisServiceBuilder.j ava:1037) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:20 6) ... 3 more D:\test> -- 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