# Java2WSDL Tool

Java2WSDL allows you to generate the WSDL for Java code that is already written to provide a Web service. This tool helps you to develop Web services in the code first approach, where the development starts with the code and thereafter you derive the WSDL from the source.

## Using the Java2WSDL User Interface

1. In the navigator, under Tools, click Java2WSDL. The Java2WSDL page appears.
2. Click Browse to locate the file you want to add. If you want to add more than one file, click the plus sign (+) button.

Figure 1: Add Resources

3. Enter values as required.
4. Click Generate.

Note: Each field is described in the user interface.

Figure 2: Java2wsdl User Interface