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. Click the "Tools" button to access the "Tools" menu.
3. From the "Tools" menu, select "WSDL2Java."
4. The "WSDL2Java" page appears. Fill in the fields as required.
Note
Each option is described on the "WSDL2Java" page.
5. Enter the URL of the WSDL in the the "uri" field.
Tip
Entering a value in this field is mandatory.
6. Click "Generate."