I am getting error while tryig to use java2wsdl.bat file distributed with axis 2. Problem seems to be that its adding all the jars in lib directory and this is a very long listing. Can anyone suggest a way to add long strings to classpath or on prompt with -cp option with java. I am trying to use - java org.apache.ws.java2wsdl.Java2WSDL -cn samples.quickstart.service.pojo.StockQuoteService -of StockQuoteService.wsdl -this adding any few important jars. Can any one suggest the required jars for using samples.quickstart.service.pojo.StockQuoteService.
Hello Friend Suggestion. Try Eclipse IDe 1. First create src, lib, directories. dump your lib directory with jars. 2. Now goto eclipse Run Wizard mode, give your wsdl2java fully qualified name and check the box to take libraries from lib folder 3. Add argument to the run command <wsdl file> 4. Onceyou have done, run the java application program wsdl2java to generate src files.