| Author |
generate java class from wsdl - eclipse
|
Kevin Kilbane
Ranch Hand
Joined: Sep 22, 2008
Posts: 42
|
|
Hi,
Does anyone know of a good Eclipse plugin (that's free!) that will generate Java classes from a wsdl?
Thanks in advance.
|
 |
Himanshu Gupta
Ranch Hand
Joined: Aug 18, 2008
Posts: 598
|
|
I think it comes inbuilt in eclipse. Not sure in which version.
In Ganymede I simply right click and select generate Client and it makes all the client proxies for me.
|
My Blog SCJP 5 SCWCD 5
|
 |
Ivan Krizsan
Bartender
Joined: Oct 04, 2006
Posts: 2194
|
|
Hi!
The web service tools built into Eclipse Ganymede is the Axis tools.
Actually, you do not need any plugin to generate Java classes from a WSDL - an Ant script is enough.
Example of an Ant script that will generate client artifacts from a WSDL:
Modify the script to match your system. Create a directory named "wsimport_generated" in the root of the project.
Best wishes!
|
 |
sudha swami
Ranch Hand
Joined: Apr 24, 2007
Posts: 177
|
|
Hi,
Eclipse comes with the webservice tools. You just need to right click the wsdl and click the generate the java client option. No need to use any third party jar file.
Thanks
Sudha
|
 |
Kevin Kilbane
Ranch Hand
Joined: Sep 22, 2008
Posts: 42
|
|
Thanks for the replies.
What I did in the end was installed the axis plugin from here:
http://ws.apache.org/axis2/tools/1_4_1/eclipse/wsdl2java-plugin.html
and then fixed the plugin as outlined here:
http://blogiterox.wordpress.com/2008/10/24/exploring-apache-axis2-and-eclipse-plug-in-development/#comment-42
|
 |
Kevin Kilbane
Ranch Hand
Joined: Sep 22, 2008
Posts: 42
|
|
Thanks for the replies.
What I did in the end was installed the axis plugin from here:
http://ws.apache.org/axis2/tools/1_4_1/eclipse/wsdl2java-plugin.html
and then fixed the plugin as outlined here:
http://blogiterox.wordpress.com/2008/10/24/exploring-apache-axis2-and-eclipse-plug-in-development/
|
 |
 |
|
|
subject: generate java class from wsdl - eclipse
|
|
|