Generating Client JAVA code for WSDL using SOAP UI – AXIS2 WSDL2JAVA

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.