How to generate java classes from WSDL file

Farhan  picture Farhan · Aug 3, 2011 · Viewed 110.9k times · Source

I am working towards an android application. I need to use a web service. I have a wsdl file but I want to convert that into java so that I can use its functions in my Java programs. Is there any way of converting a wsdl file into Java?

Answer

Oscar Gomez picture Oscar Gomez · Aug 3, 2011

Yes you can use:

Wsdl2java eclipse plugin

With this all you will need is to supply the wsdl, and the client which is the Java classes will be automatically generated for you.