Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

generate java class from wsdl - eclipse

 
Kevin Kilbane
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic