You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sm...@wipro.com on 2007/06/06 08:18:27 UTC
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
RE: WSDL2JAVA
Posted by Ashwini Kumar Jeksani <As...@infosys.com>.
You can find the details in this link:
http://ws.apache.org/axis/java/user-guide.html
Thanks and Regards,
Ashwini Kumar Jeksani
________________________________
From: smitha.aldrin@wipro.com [mailto:smitha.aldrin@wipro.com]
Sent: Wednesday, June 06, 2007 11:48 AM
To: axis-user@ws.apache.org; axis-dev@ws.apache.org
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
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
RE: WSDL2JAVA
Posted by "Kraus, David" <dk...@MicroStrategy.com>.
Is your classpath setup correctly? You seemed to be missing
activation.jar which should be in ...\axis2-1.2\lib.
________________________________
From: smitha.aldrin@wipro.com [mailto:smitha.aldrin@wipro.com]
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: kumar.vinodh@wipro.com [mailto:kumar.vinodh@wipro.com]
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: smitha.aldrin@wipro.com [mailto:smitha.aldrin@wipro.com]
Sent: Wednesday, June 06, 2007 11:48 AM
To: axis-user@ws.apache.org; axis-dev@ws.apache.org
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
RE: WSDL2JAVA
Posted by sm...@wipro.com.
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: kumar.vinodh@wipro.com [mailto:kumar.vinodh@wipro.com]
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: smitha.aldrin@wipro.com [mailto:smitha.aldrin@wipro.com]
Sent: Wednesday, June 06, 2007 11:48 AM
To: axis-user@ws.apache.org; axis-dev@ws.apache.org
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
Re: WSDL2JAVA
Posted by Amila Suriarachchi <am...@gmail.com>.
you may read this as well
http://today.java.net/lpt/a/300
On 6/6/07, kumar.vinodh@wipro.com <ku...@wipro.com> wrote:
>
> 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:* smitha.aldrin@wipro.com [mailto:smitha.aldrin@wipro.com]
> *Sent:* Wednesday, June 06, 2007 11:48 AM
> *To:* axis-user@ws.apache.org; axis-dev@ws.apache.org
> *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
>
--
Amila Suriarachchi,
WSO2 Inc.
RE: WSDL2JAVA
Posted by sm...@wipro.com.
Can you please explain me what's the difference between the databinding
framework like xmlbeans and adb?
When we should go for xmlbeans/adb?
________________________________
From: kumar.vinodh@wipro.com [mailto:kumar.vinodh@wipro.com]
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: smitha.aldrin@wipro.com [mailto:smitha.aldrin@wipro.com]
Sent: Wednesday, June 06, 2007 11:48 AM
To: axis-user@ws.apache.org; axis-dev@ws.apache.org
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
RE: WSDL2JAVA
Posted by ku...@wipro.com.
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: smitha.aldrin@wipro.com [mailto:smitha.aldrin@wipro.com]
Sent: Wednesday, June 06, 2007 11:48 AM
To: axis-user@ws.apache.org; axis-dev@ws.apache.org
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