This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

WSDL2Java

The "WSDL2Java" tool is used to generate Java code to provide or consume a Web service for a given WSDL. You can use this tool to develop Web services for contract first development. The tool provides many options to customize your code.

Follow the instructions below to use the "WSDL2Java" tool in WSO2 ESB.

1. Sign in. Enter your user name and password to log on to the ESB Management Console.

2. From the left navigation menu, under "Tools," select "WSDL2Java."

3. The "WSDL2Java" page appears. Fill in the fields as required.

Note

Each option is described on the "WSDL2Java" page.

4. Enter the URL of the WSDL in the the "uri" field.

Tip

Entering a value in this field is mandatory.

5. Click "Generate."