You can use Eclipse STP to generate stub code for your Web service.
Note: You can only use one generation type per project.
To generate code:
Right-click your WSDL file.
Select JAX-WS Tools
> Generate Code from the context menu.
In the Generate Code dialog box, select Server.
Complete the Generate Code wizard as follows:
If you want to generate asynchronous invocation stub code, select Specify Binding Files and click Browse to select an external binding declaration file.
In the Generation Options section, you can select one of the following code generation types: Implementation creates a service implementation that you can run inside a container; Server and Client allow you to create executable applications.