Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 80835 invoked from network); 31 Mar 2006 12:10:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Mar 2006 12:10:20 -0000 Received: (qmail 61951 invoked by uid 500); 31 Mar 2006 12:10:11 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 61790 invoked by uid 500); 31 Mar 2006 12:10:10 -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 61395 invoked by uid 99); 31 Mar 2006 12:10:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Mar 2006 04:10:08 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Mar 2006 04:10:07 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 8DC486ACB2 for ; Fri, 31 Mar 2006 13:09:46 +0100 (BST) Message-ID: <2074544630.1143806986578.JavaMail.jira@ajax> Date: Fri, 31 Mar 2006 13:09:46 +0100 (BST) From: "Deepal Jayasinghe (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Assigned: (AXIS2-531) WSDL2Java: Buggy command line parsing In-Reply-To: <1714267852.1143556282255.JavaMail.jira@ajax> 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 [ http://issues.apache.org/jira/browse/AXIS2-531?page=all ] Deepal Jayasinghe reassigned AXIS2-531: --------------------------------------- Assign To: Ajith Harshana Ranabahu > WSDL2Java: Buggy command line parsing > ------------------------------------- > > Key: AXIS2-531 > URL: http://issues.apache.org/jira/browse/AXIS2-531 > Project: Apache Axis 2.0 (Axis2) > Type: Bug > Components: Tools > Versions: 0.95 > Environment: Axis2 0.95 standard binary release > Reporter: Michel.Drescher > Assignee: Ajith Harshana Ranabahu > Priority: Minor > > The way WSDL2Java parses the command line parameters is buggy: > "sh WSDL2Java.sh -uri ./example.wsdl -s -ss -sd -p com.example.impl -d xmlbeans -g -o ./" > works fine (no exceptions thrown - didn't check the generated code yet) while > "sh WSDL2Java.sh -uri ./example.wsdl -o ./ -s -ss -sd -p com.example.impl -d xmlbeans -g" > throws the following exception: > Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: org.apache.axis2.schema.SchemaCompilationException: Unsupported content Simple Content Extension ! > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:146) > 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: Unsupported content Simple Content Extension ! > at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:162) > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:101) > ... 2 more > Caused by: org.apache.axis2.schema.SchemaCompilationException: Unsupported content Simple Content Extension ! > at org.apache.axis2.schema.SchemaCompiler.processSimpleContent(SchemaCompiler.java:803) > at org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaCompiler.java:672) > at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:654) > at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:604) > at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:569) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:360) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:328) > at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:899) > at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:862) > at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:631) > at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:604) > at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:569) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:360) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338) > at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:220) > at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:179) > at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:115) > ... 3 more > Note that in both commands only the -o parameter changed position. > This works with any WSDL file that uses Simple Content Extension. -- 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