| Option | Description |
| classpath | Specifies where to find input class files. |
| -d | Specifies where to store the generated run time classes. |
| -help | Displays 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. |
| -version | Prints version information for the wsgen tool. |