[ http://issues.apache.org/jira/browse/AXIS2-340?page=all ]

Nathaniel Auvil updated AXIS2-340:
----------------------------------

    Attachment: xml.zip

here is the wsdl

> wsdl2java fails
> ---------------
>
>          Key: AXIS2-340
>          URL: http://issues.apache.org/jira/browse/AXIS2-340
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: Tools
>     Versions: 0.93
>  Environment: windows xp sp2, Java HotSpot(TM) Client VM (build 1.4.2_07-b05, 
> mixed mode), Apache Ant version 1.6.2 compiled on July 16 2004
>     Reporter: Nathaniel Auvil
>  Attachments: xml.zip
>
> trying to navigate around another issue (AXIS2-337) i eliminated my schema 
> imports and inlined them in my wsdl.  Now i am getting an error under 0.93. 
> This works under Axis 1.2.1.
> -wsdl2java:
>   [codegen] path is C:\dev\cpe-async\ant\.work-webapp
>   [codegen] Retrieving document at 'asyncAbstract.wsdl', relative to 
> 'file:/C:/dev/cpe-async/ant/../src/xml/'.
>   [antcall] Exiting C:\dev\cpe-async\ant\build-axis2.xml.
>       [ant] Exiting C:\dev\cpe-async\ant\build-axis2.xml.
> BUILD FAILED
> C:\dev\cpe-async\ant\build.xml:54: The following error occurred while 
> executing this line:
> C:\dev\cpe-async\ant\build-axis2.xml:177: The following error occurred while 
> executing this line:
> C:\dev\cpe-async\ant\build-axis2.xml:40: 
> org.apache.axis2.wsdl.codegen.CodeGenerationException: 
> java.lang.RuntimeException: org.apache.xmlbeans.XmlException: Thread main:
>         at 
> org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
>         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
>         at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at org.apache.tools.ant.Target.performTasks(Target.java:369)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
>         at org.apache.tools.ant.Main.runBuild(Main.java:673)
>         at org.apache.tools.ant.Main.startAnt(Main.java:188)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
> Caused by: C:\dev\cpe-async\ant\build-axis2.xml:177: The following error 
> occurred while executing this line:
> C:\dev\cpe-async\ant\build-axis2.xml:40: 
> org.apache.axis2.wsdl.codegen.CodeGenerationException: 
> java.lang.RuntimeException: org.apache.xmlbeans.XmlException: Thread main:
>         at 
> org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
>         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
>         at 
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
>         at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at org.apache.tools.ant.Target.performTasks(Target.java:369)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
>         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
>         ... 10 more
> Caused by: C:\dev\cpe-async\ant\build-axis2.xml:40: 
> org.apache.axis2.wsdl.codegen.CodeGenerationException: 
> java.lang.RuntimeException: org.apache.xmlbeans.XmlException: T
>         at 
> org.apache.axis2.tool.ant.AntCodegenTask.execute(AntCodegenTask.java:180)
>         at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at org.apache.tools.ant.Target.performTasks(Target.java:369)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
>         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
>         ... 17 more
> Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: 
> java.lang.RuntimeException: org.apache.xmlbeans.XmlException: Thread main: 
> The 0th supplied input is not
>         at 
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:105)
>         at 
> org.apache.axis2.tool.ant.AntCodegenTask.execute(AntCodegenTask.java:178)
>         ... 23 more
> Caused by: java.lang.RuntimeException: org.apache.xmlbeans.XmlException: 
> Thread main: The 0th supplied input is not a schema document: its type is N=
>         at 
> org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:195)
>         at 
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:76)
>         ... 24 more
> Caused by: org.apache.xmlbeans.XmlException: Thread main: The 0th supplied 
> input is not a schema document: its type is N=
>         at 
> org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:211)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at org.apache.xmlbeans.XmlBeans.compileXmlBeans(XmlBeans.java:665)
>         at 
> org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:171)
>         ... 25 more
> --- Nested Exception ---
> C:\dev\cpe-async\ant\build-axis2.xml:177: The following error occurred while 
> executing this line:
> C:\dev\cpe-async\ant\build-axis2.xml:40: 
> org.apache.axis2.wsdl.codegen.CodeGenerationException: 
> java.lang.RuntimeException: org.apache.xmlbeans.XmlException: Thread main:
>         at 
> org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
>         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
>         at 
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
>         at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at org.apache.tools.ant.Target.performTasks(Target.java:369)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
>         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
>         at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at org.apache.tools.ant.Target.performTasks(Target.java:369)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
>         at org.apache.tools.ant.Main.runBuild(Main.java:673)
>         at org.apache.tools.ant.Main.startAnt(Main.java:188)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
> Caused by: C:\dev\cpe-async\ant\build-axis2.xml:40: 
> org.apache.axis2.wsdl.codegen.CodeGenerationException: 
> java.lang.RuntimeException: org.apache.xmlbeans.XmlException: T
>         at 
> org.apache.axis2.tool.ant.AntCodegenTask.execute(AntCodegenTask.java:180)
>         at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at org.apache.tools.ant.Target.performTasks(Target.java:369)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
>         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
>         ... 17 more
> Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: 
> java.lang.RuntimeException: org.apache.xmlbeans.XmlException: Thread main: 
> The 0th supplied input is not
>         at 
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:105)
>         at 
> org.apache.axis2.tool.ant.AntCodegenTask.execute(AntCodegenTask.java:178)
>         ... 23 more
> Caused by: java.lang.RuntimeException: org.apache.xmlbeans.XmlException: 
> Thread main: The 0th supplied input is not a schema document: its type is N=
>         at 
> org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:195)
>         at 
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:76)
>         ... 24 more
> Caused by: org.apache.xmlbeans.XmlException: Thread main: The 0th supplied 
> input is not a schema document: its type is N=
>         at 
> org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:211)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at org.apache.xmlbeans.XmlBeans.compileXmlBeans(XmlBeans.java:665)
>         at 
> org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:171)
>         ... 25 more
> --- Nested Exception ---
> C:\dev\cpe-async\ant\build-axis2.xml:40: 
> org.apache.axis2.wsdl.codegen.CodeGenerationException: 
> java.lang.RuntimeException: org.apache.xmlbeans.XmlException: Thread main:
>         at 
> org.apache.axis2.tool.ant.AntCodegenTask.execute(AntCodegenTask.java:180)
>         at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at org.apache.tools.ant.Target.performTasks(Target.java:369)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
>         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
>         at 
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
>         at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at org.apache.tools.ant.Target.performTasks(Target.java:369)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
>         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
>         at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at org.apache.tools.ant.Target.performTasks(Target.java:369)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
>         at org.apache.tools.ant.Main.runBuild(Main.java:673)
>         at org.apache.tools.ant.Main.startAnt(Main.java:188)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
> Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: 
> java.lang.RuntimeException: org.apache.xmlbeans.XmlException: Thread main: 
> The 0th supplied input is not
>         at 
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:105)
>         at 
> org.apache.axis2.tool.ant.AntCodegenTask.execute(AntCodegenTask.java:178)
>         ... 23 more
> Caused by: java.lang.RuntimeException: org.apache.xmlbeans.XmlException: 
> Thread main: The 0th supplied input is not a schema document: its type is N=
>         at 
> org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:195)
>         at 
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:76)
>         ... 24 more
> Caused by: org.apache.xmlbeans.XmlException: Thread main: The 0th supplied 
> input is not a schema document: its type is N=
>         at 
> org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:211)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at org.apache.xmlbeans.XmlBeans.compileXmlBeans(XmlBeans.java:665)
>         at 
> org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:171)
>         ... 25 more
> --- Nested Exception ---
> org.apache.axis2.wsdl.codegen.CodeGenerationException: 
> java.lang.RuntimeException: org.apache.xmlbeans.XmlException: Thread main: 
> The 0th supplied input is not a schema d
>         at 
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:105)
>         at 
> org.apache.axis2.tool.ant.AntCodegenTask.execute(AntCodegenTask.java:178)
>         at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at org.apache.tools.ant.Target.performTasks(Target.java:369)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
>         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
>         at 
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
>         at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at org.apache.tools.ant.Target.performTasks(Target.java:369)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
>         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
>         at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at org.apache.tools.ant.Target.performTasks(Target.java:369)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
>         at org.apache.tools.ant.Main.runBuild(Main.java:673)
>         at org.apache.tools.ant.Main.startAnt(Main.java:188)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
> Caused by: java.lang.RuntimeException: org.apache.xmlbeans.XmlException: 
> Thread main: The 0th supplied input is not a schema document: its type is N=
>         at 
> org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:195)
>         at 
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:76)
>         ... 24 more
> Caused by: org.apache.xmlbeans.XmlException: Thread main: The 0th supplied 
> input is not a schema document: its type is N=
>         at 
> org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:211)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at org.apache.xmlbeans.XmlBeans.compileXmlBeans(XmlBeans.java:665)
>         at 
> org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:171)
>         ... 25 more
> Total time: 1 second

-- 
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

Reply via email to