Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java2wsdl.bat with axis 2 distribution

 
snehil brajpuriya
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thanks
 
snehil brajpuriya
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
GOt the solution for this now. Thanks
 
Karthik Rajendiran
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic