Mega Code Archive

 
Categories / Java Tutorial / Web Services SOA
 

The syntax to use the wsgen tool

The wsgen tool generates the run time classes used in the Java API for XML-Based Web Services (JAX-WS) Web services. wsgen [options] OptionDescription 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.