First off , you must enter to the directory of StockQuoteService class and compile (in my case C:\axis2-1.6.2\samples\quickstart\src \samples\quickstart\service\pojo).
Then enter to src folder ( C:\axis2-1.6.2\samples\quickstart\src) to execute the command and this generate the WSDL file into such folder.
Remember that '-cp .' indicates the actual directory and '-cn'
specifies the qualified name of the class.
I hope be useful.Regards.