Hi,
Can we have a look at the WSDL ? It seems that when ":" is present in
the url our entity resolver gets confused but having the WSDL would be
a great help
Ajith
On 5/9/06, Sebastian Szczygiel <[EMAIL PROTECTED]> wrote:
Hello,
Using the Axis2 1.0 release I get an exception while executing the WSDL2Java
tool.
BUT: exact the same schema files worked fine with all previous Axis2
versions including 0.95 release.
Any ideas what's wrong?
Regards,
Sebastian
Retrieving schema at 'file:///C:/foo.xsd', relative to 'file:/C://'.
Retrieving schema at foo.xsd', relative to 'file:/C:/ foo.xsd'.
Retrieving schema at 'bla.xsd', relative to 'file:/C:/bla.xsd'.
Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
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:
java.lang.reflect.InvocationTargetException
at
org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:93)
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:140)
... 2 more
Caused by: java.lang.reflect.InvocationTargetException
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:585)
at
org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:83)
... 3 more
Caused by: java.lang.RuntimeException:
org.apache.xmlbeans.XmlException: error: Problem parsing
referenced XML resource - C:\bla.xsd:1:1: error: Unexpected end of file
after null
at
org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:192)
... 8 more
Caused by: org.apache.xmlbeans.XmlException: error: Problem
parsing referenced XML resource - C:\foo.xsd:1:1: error: Unexpected end of
file after null
at
org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:225)
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:585)
at
org.apache.xmlbeans.XmlBeans.compileXmlBeans(XmlBeans.java:665)
at
org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:161)
... 8 more
Java Result: 1
--
Ajith Ranabahu