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 Sebastian Szczygiel <se...@openknowledge.de> on 2006/05/09 10:45:50 UTC
RE: [axis2] wsdl2java exception after updating to 1.00 release
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(CodeGenerati
onEngine.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(XMLBean
sExtension.java:93)
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerati
onEngine.java:140)
... 2 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBean
sExtension.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(CodeGener
ationUtility.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(SchemaT
ypeSystemCompiler.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.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(CodeGener
ationUtility.java:161)
... 8 more
Java Result: 1
Re: [axis2] wsdl2java exception after updating to 1.00 release
Posted by Diego <di...@tiscalinet.it>.
Hi Ajith,
I've also experienced a similar problem with the following wsdl:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="SkyPortal.ivoa.net"
xmlns:tns="SkyPortal.ivoa.net"
xmlns:tns1="http://vizier.u-strasbg.fr/xml/VOTable-1.1.xsd"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<xsd:schema elementFormDefault="qualified"
targetNamespace="SkyPortal.ivoa.net">
<xsd:import namespace="http://www.w3.org/2001/XMLSchema" />
<xsd:import namespace="http://vizier.u-strasbg.fr/xml/VOTable-1.1.xsd"
schemaLocation="http://vizier.u-strasbg.fr/xml/VOTable-1.1.xsd" />
<xsd:element name="SubmitDistributedQuery">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="1" name="qry"
type="xsd:string" />
<xsd:element minOccurs="0" maxOccurs="1" name="outputType"
type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="SubmitDistributedQueryResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="1"
name="SubmitDistributedQueryResult" type="tns:VOTableData" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="VOData" abstract="true" />
<xsd:complexType name="VOTableData">
<xsd:complexContent mixed="false">
<xsd:extension base="tns:VOData">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="1" name="VOTABLE"
type="tns1:VOTABLE" />
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:schema>
</wsdl:types>
<wsdl:message name="SubmitDistributedQuerySoapIn">
<wsdl:part name="parameters" element="tns:SubmitDistributedQuery" />
</wsdl:message>
<wsdl:message name="SubmitDistributedQuerySoapOut">
<wsdl:part name="parameters"
element="tns:SubmitDistributedQueryResponse" />
</wsdl:message>
<wsdl:portType name="SkyPortalSoap">
<wsdl:operation name="SubmitDistributedQuery">
<documentation xmlns="http://schemas.xmlsoap.org/wsdl/">
Runs a distributed query query by making a plan and then
executing it - you may call the two steps seperately if
you wish to view the plan or track progress.
</documentation>
<wsdl:input message="tns:SubmitDistributedQuerySoapIn" />
<wsdl:output message="tns:SubmitDistributedQuerySoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="SkyPortalSoap" type="tns:SkyPortalSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document" />
<wsdl:operation name="SubmitDistributedQuery">
<soap:operation
soapAction="SkyPortal.ivoa.net/SubmitDistributedQuery" style="document" />
<wsdl:input>
<!--
<soap:header message="tns:SubmitDistributedQueryRunIDHeader"
part="RunIDHeader" use="literal" />
-->
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="SkyPortal">
<documentation xmlns="http://schemas.xmlsoap.org/wsdl/" />
<wsdl:port name="SkyPortalSoap" binding="tns:SkyPortalSoap">
<soap:address
location="http://openskyquery.net/Sky/SkyPortal/SkyPortal.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
That's the exception that I got:
[java] org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
[java] at
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:180)
[java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:710)
[java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178)
[java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:84)
[java] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java] at org.apache.tools.ant.Task.perform(Task.java:364)
[java] at org.apache.tools.ant.Target.execute(Target.java:341)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java] at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
[java] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[java] at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
[java] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java] at org.apache.tools.ant.Task.perform(Task.java:364)
[java] at org.apache.tools.ant.Target.execute(Target.java:341)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[java] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[java] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[java] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
[java] Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
[java] at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:185)
[java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at
org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:202)
[java] at
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:134)
[java] ... 24 more
[java] Caused by: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
[java] at
org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:93)
[java] at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:140)
[java] ... 31 more
[java] Caused by: java.lang.reflect.InvocationTargetException
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at
org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:83)
[java] ... 32 more
[java] Caused by: java.lang.RuntimeException:
org.apache.xmlbeans.XmlException: error: Problem parsing referenced XML
resource - http://vizier.u-strasbg.fr/xml/VOTable-1.1.xsd:1:1: error:
Unexpected end of file after null
[java] at
org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:192)
[java] ... 37 more
[java] Caused by: org.apache.xmlbeans.XmlException: error: Problem
parsing referenced XML resource -
http://vizier.u-strasbg.fr/xml/VOTable-1.1.xsd:1:1: error: Unexpected
end of file after null
[java] at
org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:225)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at org.apache.xmlbeans.XmlBeans.compileXmlBeans(XmlBeans.java:665)
[java] at
org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:161)
[java] ... 37 more
[java] --- Nested Exception ---
[java] org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
[java] at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:185)
[java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at
org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:202)
[java] at
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:134)
[java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:710)
[java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178)
[java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:84)
[java] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java] at org.apache.tools.ant.Task.perform(Task.java:364)
[java] at org.apache.tools.ant.Target.execute(Target.java:341)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java] at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
[java] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[java] at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
[java] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java] at org.apache.tools.ant.Task.perform(Task.java:364)
[java] at org.apache.tools.ant.Target.execute(Target.java:341)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[java] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[java] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[java] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
[java] Caused by: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
[java] at
org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:93)
[java] at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:140)
[java] ... 31 more
[java] Caused by: java.lang.reflect.InvocationTargetException
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at
org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:83)
[java] ... 32 more
[java] Caused by: java.lang.RuntimeException:
org.apache.xmlbeans.XmlException: error: Problem parsing referenced XML
resource - http://vizier.u-strasbg.fr/xml/VOTable-1.1.xsd:1:1: error:
Unexpected end of file after null
[java] at
org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:192)
[java] ... 37 more
[java] Caused by: org.apache.xmlbeans.XmlException: error: Problem
parsing referenced XML resource -
http://vizier.u-strasbg.fr/xml/VOTable-1.1.xsd:1:1: error: Unexpected
end of file after null
[java] at
org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:225)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at org.apache.xmlbeans.XmlBeans.compileXmlBeans(XmlBeans.java:665)
[java] at
org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:161)
[java] ... 37 more
Thanks!
Diego
Ajith Ranabahu wrote:
> 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 <se...@openknowledge.de>
> 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
>
Re: [axis2] wsdl2java exception after updating to 1.00 release
Posted by Ajith Ranabahu <aj...@gmail.com>.
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 <se...@openknowledge.de> 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