Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.2
-
None
-
Windows XP
Description
I'm trying to generate the server code from a wsdl using jaxb-2.0+jdk1.5 but i 'm always getting the same error. The syntax i'm using is this:
%AXIS2_HOME%\bin\wsdl2java.bat -uri http://localhost/mywsdl.wsdl -p mynamespace -o target_directory_name -d jaxbri -s -wv 1.2 -ss -sd
and get the error:
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 (CodeGener
ationEngine.java:256)
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.InvocationTargetExcepti
on
at org.apache.axis2.wsdl.codegen.extension.JAXBRIExtension.engage(JAXBRI
Extension.java:109)
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
ationEngine.java:209)