You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Michel.Drescher (JIRA)" <ji...@apache.org> on 2006/04/26 21:03:03 UTC
[jira] Created: (AXIS2-624) CLONE -WSDL2Java: Buggy command line
parsing
CLONE -WSDL2Java: Buggy command line parsing
--------------------------------------------
Key: AXIS2-624
URL: http://issues.apache.org/jira/browse/AXIS2-624
Project: Apache Axis 2.0 (Axis2)
Type: Bug
Components: Tools
Versions: 0.95
Environment: Axis2 0.95 standard binary release
Reporter: Michel.Drescher
Assigned to: 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
Re: [jira] Updated: (AXIS2-624) CLONE -WSDL2Java: Buggy command line parsing
Posted by Michel Drescher <Mi...@uk.fujitsu.com>.
Hi all,
having had an ingenious idea, I guess I found the bug in
"WSDL2Java.sh".
The functional difference between the Windows and Unix version of
this script is in how to invoke Java. While the Windows version uses
a special variable "%*" to pass all command line arguments from the
script to java:
%_RUNJAVA% %JAVA_OPTS% -cp "%AXIS2_CLASS_PATH%"
org.apache.axis2.wsdl.WSDL2Java %*
the Unix version simply uses the first nine positional parameters:
java -classpath $AXIS2_CLASSPATH
org.apache.axis2.wsdl.WSDL2Java $1 $2 $3 $4 $5 $6 $7 $8 $9
I guess that the Linux shells transparently pack all remaining
arguments into $9 when there are more than 9 command line arguments
to the shell script. Well, Mac OS X's bash obviously doesn't.
The simple yet effective fix is to use "$*" in WSDL2Java.sh as well.
The fixed shell script is attached.
Cheers,
Michel
[jira] Updated: (AXIS2-624) CLONE -WSDL2Java: Buggy command line
parsing
Posted by "Michel.Drescher (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-624?page=all ]
Michel.Drescher updated AXIS2-624:
----------------------------------
Attachment: rbyteio-complete.wsdl
This is the WSDL file used as per my last comment.
> CLONE -WSDL2Java: Buggy command line parsing
> --------------------------------------------
>
> Key: AXIS2-624
> URL: http://issues.apache.org/jira/browse/AXIS2-624
> 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
> Attachments: rbyteio-complete.wsdl
>
> 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
[jira] Resolved: (AXIS2-624) CLONE -WSDL2Java: Buggy command line
parsing
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-624?page=all ]
Davanum Srinivas resolved AXIS2-624:
------------------------------------
Resolution: Fixed
fixed :) thx.
--- dims
> CLONE -WSDL2Java: Buggy command line parsing
> --------------------------------------------
>
> Key: AXIS2-624
> URL: http://issues.apache.org/jira/browse/AXIS2-624
> 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
> Attachments: rbyteio-complete.wsdl
>
> 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
[jira] Commented: (AXIS2-624) CLONE -WSDL2Java: Buggy command line
parsing
Posted by "Michel.Drescher (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-624?page=comments#action_12376527 ]
Michel.Drescher commented on AXIS2-624:
---------------------------------------
Sorry, but the bug still exists. Tested with a newer version of Axis2:
System:
- Mac OS X 10.4.6
- Java 1.5.0_06-112
- Axis2 1.0 RC3
Executing
"./WSDL2Java.sh -uri ./rbyteio-complete.wsdl -d xmlbeans -o ./ -s -p test -ss -sd -g"
works fine, no excceptions. (Didn't check the usability of the code). Whereas executing
"./WSDL2Java.sh -uri ./rbyteio-complete.wsdl -o ./ -s -p test -ss -sd -g -d xmlbeans"
gives thee following stacktrace:
the classpath :../lib/XmlSchema-SNAPSHOT.jar:../lib/annogen-0.1.0.jar:../lib/axiom-api-1.0-RC3.jar:../lib/axiom-dom-1.0-RC3.jar:../lib/axiom-impl-1.0-RC3.jar:../lib/axis-wsdl4j-1.2.jar:../lib/axis2-adb-1.0-RC3.jar:../lib/axis2-codegen-1.0-RC3.jar:../lib/axis2-jibx-1.0-RC3.jar:../lib/axis2-kernel-1.0-RC3.jar:../lib/axis2-xmlbeans-1.0-RC3.jar:../lib/backport-util-concurrent-2.1.jar:../lib/commons-codec-1.3.jar:../lib/commons-fileupload-1.0.jar:../lib/commons-httpclient-3.0.jar:../lib/commons-logging-1.0.4.jar:../lib/geronimo-spec-activation-1.0.2-rc4.jar:../lib/geronimo-spec-javamail-1.3.1-rc5.jar:../lib/geronimo-spec-jms-1.1-rc4.jar:../lib/jaxen-1.1-beta-7.jar:../lib/jaxme2-0.5.1.jar:../lib/jaxmeapi-0.5.1.jar:../lib/jaxmejs-0.5.1.jar:../lib/jaxmexs-0.5.1.jar:../lib/log4j-1.2.13.jar:../lib/maven-itest-plugin-1.0.jar:../lib/policy-1.0.1-RC.jar:../lib/servletapi-2.3.jar:../lib/stax-api-1.0.jar:../lib/wstx-asl-2.9.2.jar:../lib/xbean-2.1.0.jar
Retrieving document at 'http://docs.oasis-open.org/wsrf/rpw-2.wsdl', relative to 'file:/Users/mDrescher/Desktop/ByteIO/Axis2/axis2-std-1.0-RC3-bin/bin/./'.
Retrieving document at 'http://docs.oasis-open.org/wsrf/rw-2.wsdl', relative to 'http://docs.oasis-open.org/wsrf/rpw-2.wsdl'.
Retrieving schema at 'http://docs.oasis-open.org/wsrf/r-2.xsd', relative to 'http://docs.oasis-open.org/wsrf/rw-2.wsdl'.
Retrieving schema at 'http://docs.oasis-open.org/wsrf/bf-2.xsd', relative to 'http://docs.oasis-open.org/wsrf/r-2.xsd'.
Retrieving schema at 'http://www.w3.org/2001/xml.xsd', relative to 'http://docs.oasis-open.org/wsrf/bf-2.xsd'.
Retrieving schema at 'http://www.w3.org/2005/08/addressing/ws-addr.xsd', relative to 'http://docs.oasis-open.org/wsrf/bf-2.xsd'.
Retrieving schema at 'http://docs.oasis-open.org/wsrf/rp-2.xsd', relative to 'http://docs.oasis-open.org/wsrf/rpw-2.wsdl'.
Retrieving schema at 'http://docs.oasis-open.org/wsrf/bf-2.xsd', relative to 'http://docs.oasis-open.org/wsrf/rp-2.xsd'.
Retrieving document at 'http://docs.oasis-open.org/wsrf/rlw-2.wsdl', relative to 'file:/Users/mDrescher/Desktop/ByteIO/Axis2/axis2-std-1.0-RC3-bin/bin/./'.
Retrieving document at 'http://docs.oasis-open.org/wsrf/rw-2.wsdl', relative to 'http://docs.oasis-open.org/wsrf/rlw-2.wsdl'.
Retrieving schema at 'http://docs.oasis-open.org/wsrf/r-2.xsd', relative to 'http://docs.oasis-open.org/wsrf/rw-2.wsdl'.
Retrieving schema at 'http://docs.oasis-open.org/wsrf/rl-2.xsd', relative to 'http://docs.oasis-open.org/wsrf/rlw-2.wsdl'.
Retrieving schema at 'http://docs.oasis-open.org/wsrf/bf-2.xsd', relative to 'http://docs.oasis-open.org/wsrf/rl-2.xsd'.
Retrieving document at 'http://docs.oasis-open.org/wsrf/rw-2.wsdl', relative to 'file:/Users/mDrescher/Desktop/ByteIO/Axis2/axis2-std-1.0-RC3-bin/bin/./'.
Retrieving schema at 'http://docs.oasis-open.org/wsrf/r-2.xsd', relative to 'http://docs.oasis-open.org/wsrf/rw-2.wsdl'.
Retrieving schema at 'http://docs.oasis-open.org/wsrf/bf-2.xsd', relative to 'file:/Users/mDrescher/Desktop/ByteIO/Axis2/axis2-std-1.0-RC3-bin/bin/./'.
Retrieving schema at 'http://docs.oasis-open.org/wsrf/bf-2.xsd', relative to 'file:/Users/mDrescher/Desktop/ByteIO/Axis2/axis2-std-1.0-RC3-bin/bin/./'.
Retrieving schema at 'http://docs.oasis-open.org/wsrf/rl-2.xsd', relative to 'file:/Users/mDrescher/Desktop/ByteIO/Axis2/axis2-std-1.0-RC3-bin/bin/./'.
Retrieving schema at 'http://docs.oasis-open.org/wsrf/rp-2.xsd', relative to 'file:/Users/mDrescher/Desktop/ByteIO/Axis2/axis2-std-1.0-RC3-bin/bin/./'.
Retrieving schema at 'http://www.w3.org/2005/08/addressing/ws-addr.xsd', relative to 'file:/Users/mDrescher/Desktop/ByteIO/Axis2/axis2-std-1.0-RC3-bin/bin/./'.
log4j:WARN No appenders could be found for logger (org.apache.axis2.wsdl.codegen.writer.PrettyPrinter).
log4j:WARN Please initialize the log4j system properly.
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: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: Unsupported content Simple Content Extension !
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: Unsupported content Simple Content Extension !
at org.apache.axis2.schema.SchemaCompiler.processSimpleContent(SchemaCompiler.java:815)
at org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaCompiler.java:684)
at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:666)
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.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:344)
at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:226)
at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:207)
at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:207)
at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:181)
at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:70)
... 3 more
> CLONE -WSDL2Java: Buggy command line parsing
> --------------------------------------------
>
> Key: AXIS2-624
> URL: http://issues.apache.org/jira/browse/AXIS2-624
> 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
> Attachments: rbyteio-complete.wsdl
>
> 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