This is the WSO2 Data Services Server documentation version 2.6.3

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.

1. Log on to the Data Services Server Management Console.

2. Click the "Tools" menu and select "WSDL2Java."

3. The "WSDL2Java" page appears. Fill in the fields according to your requirement. A url or path to a WSDL file is mandatory to generate the corresponding Java code.

Note

Each option is described on the "WSDL2Java" user interface itself.

4. Browse and submit a WSDL file.

5. Click "Generate." The Java code will be saved in a location selected by you as a zip file.