Is your classpath setup correctly? You seemed to be missing
activation.jar which should be in ...\axis2-1.2\lib.

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 06, 2007 12:38 AM
To: axis-user@ws.apache.org
Subject: RE: WSDL2JAVA

 

Hi

 I am getting the following exception when I use wsdl2java

 

Is it possible for anybody to help to figure out the problem?

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.SimpleDBExtension.engage(Simp

leDBExtension.java:50)

        at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener

ationEngine.java:209)

        ... 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(DelegatingMethodAcces

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp

leDBExtension.java:47)

        ... 3 more

Caused by: java.lang.NoClassDefFoundError

        at
org.apache.axis2.schema.typemap.JavaTypeMap.class$(JavaTypeMap.java:7

1)

        at
org.apache.axis2.schema.typemap.JavaTypeMap.<clinit>(JavaTypeMap.java

:106)

        at
org.apache.axis2.schema.writer.JavaBeanWriter.<init>(JavaBeanWriter.j

ava:80)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

 

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct

orAccessorImpl.java:39)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC

onstructorAccessorImpl.java:27)

        at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)

        at java.lang.Class.newInstance0(Class.java:350)

        at java.lang.Class.newInstance(Class.java:303)

        at
org.apache.axis2.schema.util.SchemaPropertyLoader.<clinit>(SchemaProp

ertyLoader.java:51)

        at
org.apache.axis2.schema.SchemaCompiler.<init>(SchemaCompiler.java:143

)

        at
org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java

:73)

        ... 8 more

Caused by: java.lang.ClassNotFoundException:
javax.activation.DataHandler

        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:164)

        ... 20 more

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 06, 2007 11:59 AM
To: axis-user@ws.apache.org
Subject: RE: WSDL2JAVA

 

This link would be useful to u....

 

http://ws.apache.org/axis2/1_2/reference.html#wsdl2code

 

http://ws.apache.org/axis2/1_2/adv-userguide.html

 

_________________________________________________

Thanks & Regards,

Vinodh

 

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 06, 2007 11:48 AM
To: axis-user@ws.apache.org; [EMAIL PROTECTED]
Subject: WSDL2JAVA

Hi

Can anybody help me by providing the steps to use wsdl2java?

Is there any good site/tutorial which explains how to use wsdl2java?

 

 

Thanks And Regards

Smitha Aldrin


The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.

www.wipro.com

 


The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.

www.wipro.com
        

The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.

www.wipro.com
        

Reply via email to