Generating Client JAVA code for WSDL using SOAP UI
Create a Soap UI project using your WSDL.
Set the Preferences in SOAP UI for AXIS2 home directory.
Right Click on the WSDL in SOAP UI and click generate code.
Select ADB binding and the following settings and click generate
Following is the directory structure and code files generated.
That’s it, you can now use this code from you IDE by importing it.
PS: you will need to add the axis2 jars to your project class path.
For more details visit my blog @ http://nitinaggarwal.wordpress.com/
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)