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.




  1. doesn’t work y have a problem with the directory axis2/bin, it doesn’t exist and soapui try to use that directory to generate the client, any idea?

  2. Hi,

    I need the client code in java for consuming the web service that soapUI uses, with the request parameters I provide in the editor.

    Please help me on that if possible.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s