This plugin can generate WSDL, server side code used to start web service and client side code from a java class.
Here is a simple example:
Here are the options you can use and their defaults:
For detailed descriptions of the configuration elements see Java to WS page.
The outputFile value by default will be: