WSDL2Code Tool
The WSDL2Code 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. This tool provides many options to customize your
code.
- In the navigator, under Tools, click
WSDL2Java. The
WSDL2 Code page appears.
- Fill in the fields as required.
- Enter the URL of the WSDL in the the uri field. Entering a value in this field is
mandatory.
- Click Generate.
Note 1: Each option is described on the WSDL2
Code page.
Note 2: If the WSDL has XSDs that are imported from the file system, then first archive those
XSDs and WSDL together into a zip. Then upload the zip.

Figure 1: WSDL2Code User Interface