The syntax to use the wsgen tool : Tools « Web Services SOA « Java Tutorial

The wsgen tool generates the run time classes used in the Java API for XML-Based Web Services (JAX-WS) Web services.

wsgen [options]

classpath Specifies where to find input class files.
-d Specifies where to store the generated run time classes.
-helpDisplays help messages.
-r Specifies where to place generated resource files, such as Web Services Definition Language (WSDL) files.
-servicename Generates the specified wsdl: service in the WSDL.
-versionPrints version information for the wsgen tool.

26.1.1.The wsimport Tool
26.1.2.The syntax to use the wsgen tool