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.
Figure 1: Add Resources
Note: Each field is described in the user interface.
Figure 2: Java2wsdl User Interface