File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes java2wsdl.bat with axis 2 distribution Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "java2wsdl.bat with axis 2 distribution" Watch "java2wsdl.bat with axis 2 distribution" New topic
Author

java2wsdl.bat with axis 2 distribution

snehil brajpuriya
Greenhorn

Joined: Jan 09, 2006
Posts: 2
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

Joined: Jan 09, 2006
Posts: 2
GOt the solution for this now. Thanks
Karthik Rajendiran
Ranch Hand

Joined: Aug 13, 2004
Posts: 210
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.


SCJP 1.4 SCWCD 1.4 SCDJWS 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java2wsdl.bat with axis 2 distribution
 
Similar Threads
Problem in creating webservices with axis
Axis and SAAJ
Conflict between WAS 5.1 Classloader modes
JAVA2WSDL in AXIS2
Standlaone Rest Services