Question: how to use wsgen command in eclipse?
Answer: Create a new Java maven project in eclipse. Create a service implementation class. ...  Generate web service artifacts(java files) ...  Copy these files to our project and adjust the package names in the java files accordingly. Now generate WSDL file using wsgen command. ...  Check the generated wsdl and xsd files.