• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

generate java class from wsdl - eclipse

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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/
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic