You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Michael Mogley <mm...@wirefreethought.com> on 2006/03/28 04:28:42 UTC
[axis2] xml-beans code generation
I just downloaded the latest 0.95 and am getting the following error when trying to generate code for xmlbeans databinding (I'm using various wsdl files, including ones included in /modules/test-resources with same results):
org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: org.apache.xmlbeans.XmlExeption: The 0th supplied input is not a schema document: its type is N=
Caused by: org.apache.xmlbeans.XmlException: Thread main: The 0th supplied input is not a schema document:
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:185)
Can anyone shed some light on what I might be doing wrong?
Thanks,
Michael
Re: [axis2] xml-beans code generation
Posted by Michael Mogley <mm...@wirefreethought.com>.
BTW, I'm invoking this through the command-line using a custom ant task I wrote (since I can't find the task referred to in the docs).
----- Original Message -----
From: Michael Mogley
To: axis-user@ws.apache.org
Sent: Monday, March 27, 2006 6:28 PM
Subject: [axis2] xml-beans code generation
I just downloaded the latest 0.95 and am getting the following error when trying to generate code for xmlbeans databinding (I'm using various wsdl files, including ones included in /modules/test-resources with same results):
org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: org.apache.xmlbeans.XmlExeption: The 0th supplied input is not a schema document: its type is N=
Caused by: org.apache.xmlbeans.XmlException: Thread main: The 0th supplied input is not a schema document:
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:185)
Can anyone shed some light on what I might be doing wrong?
Thanks,
Michael