Please log an issue in JIRA and upload your wsdl / schemas.

thanks,.
dims

On 7/16/07, Enric Staromiejski Torregrosa <[EMAIL PROTECTED]> wrote:
Hi all,

I'm new to the list, so i beg your pardon if the question is old for you.
But i have not seen many threads on the internet about the problem i'm
experiencing.

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)


I checked the jaxb-2.0 jars are present in the %AXIS2_HOME%/lib and even
downloaded there the latest jaxbri 2.1.2 distribution from java.net, but i'm
still getting this error once and again. When
using the -d adb option everything goes well.

Any idea, please?

Thks.
Enric


--
Davanum Srinivas :: http://davanum.wordpress.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to