You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by vsripada <vs...@csnet.cs.odu.edu> on 2004/05/17 21:27:09 UTC

unable to run WSDL2WS tool............

hi
    i'm trying to deploy my own webservice using the given calculator.wsdl .........as instructed i've set the class paths of all the jar files.....in the instructions it is given that 
 
Copy the file wsdl2ws.jar from AXIS_EXTRACT\bin to WSDL2WS_FOLDER.
 
i dont see any wsdl2ws.jar file in AXIS_EXTRACT\bin folder............
 
i've downloaded axis for the second time to make that i've downloaded first time correclty......even then i couldnt find the wsdl2ws.jar file in AXIS_EXTRACT\bin
 
i've a wsdl2ws.jar file in AXIS_EXTRACT\lib\axis........
 
can i use this jar file ???.......
 
i tried by coping this wsdl2ws.jar file present in AXIS_EXTRACT\lib\axis........
 
copied the Calculator.wsdl file into folder.....
 
but when i given the following command as instructed.........
 
Java -classpath %classpath%;.\wsdl2ws.jar org.apache.axis.wsdl.wsdl2ws.WSDL2Ws Calculator.wsdl -o./ServerOut -lc++ -sserver
 
i get the following error.......
 
C:\Apache\axis-c-1-1-1-win32\lib\axis\WSDL2WS_FOLDER>Java -classpath %classpath%
;.\wsdl2ws.jar org.apache.axis.wsdl.wsdl2ws.WSDL2Ws Calculator.wsdl -o./ClientOu
t -lc++ -sclient
args =
args =
args =
1
Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/Node
        at org.apache.axis.wsdl.gen.Parser.run(Parser.java:204)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.<init>(WSDL2Ws.java:97)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(WSDL2Ws.java:644)

should i need give something inplace of  %classpath% ....i've already defined a CLASSPATH variable which points to all the jar files in .....
 
AXIS_EXTRACT\lib\axisjava............
 
do i need to modify the above statement ???
 
am i using the right statement invoking wsdl2ws tool..................
 
regards,
raj

Re: unable to run WSDL2WS tool............

Posted by eric lindvall <er...@5stops.com>.
http://marc.theaimsgroup.com/?l=axis-c-user&m=108428957428211&w=2

On Mon, 17 May 2004, vsripada wrote:

> hi
>     i'm trying to deploy my own webservice using the given calculator.wsdl .........as instructed i've set the class paths of all the jar files.....in the instructions it is given that 
>  
> Copy the file wsdl2ws.jar from AXIS_EXTRACT\bin to WSDL2WS_FOLDER.
>  
> i dont see any wsdl2ws.jar file in AXIS_EXTRACT\bin folder............
>  
> i've downloaded axis for the second time to make that i've downloaded first time correclty......even then i couldnt find the wsdl2ws.jar file in AXIS_EXTRACT\bin
>  
> i've a wsdl2ws.jar file in AXIS_EXTRACT\lib\axis........
>  
> can i use this jar file ???.......
>  
> i tried by coping this wsdl2ws.jar file present in AXIS_EXTRACT\lib\axis........
>  
> copied the Calculator.wsdl file into folder.....
>  
> but when i given the following command as instructed.........
>  
> Java -classpath %classpath%;.\wsdl2ws.jar org.apache.axis.wsdl.wsdl2ws.WSDL2Ws Calculator.wsdl -o./ServerOut -lc++ -sserver
>  
> i get the following error.......
>  
> C:\Apache\axis-c-1-1-1-win32\lib\axis\WSDL2WS_FOLDER>Java -classpath %classpath%
> ;.\wsdl2ws.jar org.apache.axis.wsdl.wsdl2ws.WSDL2Ws Calculator.wsdl -o./ClientOu
> t -lc++ -sclient
> args =
> args =
> args =
> 1
> Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/Node
>         at org.apache.axis.wsdl.gen.Parser.run(Parser.java:204)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.<init>(WSDL2Ws.java:97)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(WSDL2Ws.java:644)
> 
> should i need give something inplace of  %classpath% ....i've already defined a CLASSPATH variable which points to all the jar files in .....
>  
> AXIS_EXTRACT\lib\axisjava............
>  
> do i need to modify the above statement ???
>  
> am i using the right statement invoking wsdl2ws tool..................
>  
> regards,
> raj

Re: unable to run WSDL2WS tool............

Posted by Samisa Abeysinghe <sa...@yahoo.com>.
Do you have paser (Xerces) on your class path?
I got the feeling that the paser is missing.

Also, put wsdl2ws.jar before the other jars on your class path in case you have Axis Java on your
system.

Samisa...

--- vsripada <vs...@csnet.cs.odu.edu> wrote:
> hi
>     i'm trying to deploy my own webservice using the given calculator.wsdl .........as
> instructed i've set the class paths of all the jar files.....in the instructions it is given
> that 
>  
> Copy the file wsdl2ws.jar from AXIS_EXTRACT\bin to WSDL2WS_FOLDER.
>  
> i dont see any wsdl2ws.jar file in AXIS_EXTRACT\bin folder............
>  
> i've downloaded axis for the second time to make that i've downloaded first time
> correclty......even then i couldnt find the wsdl2ws.jar file in AXIS_EXTRACT\bin
>  
> i've a wsdl2ws.jar file in AXIS_EXTRACT\lib\axis........
>  
> can i use this jar file ???.......
>  
> i tried by coping this wsdl2ws.jar file present in AXIS_EXTRACT\lib\axis........
>  
> copied the Calculator.wsdl file into folder.....
>  
> but when i given the following command as instructed.........
>  
> Java -classpath %classpath%;.\wsdl2ws.jar org.apache.axis.wsdl.wsdl2ws.WSDL2Ws Calculator.wsdl
> -o./ServerOut -lc++ -sserver
>  
> i get the following error.......
>  
> C:\Apache\axis-c-1-1-1-win32\lib\axis\WSDL2WS_FOLDER>Java -classpath %classpath%
> ;.\wsdl2ws.jar org.apache.axis.wsdl.wsdl2ws.WSDL2Ws Calculator.wsdl -o./ClientOu
> t -lc++ -sclient
> args =
> args =
> args =
> 1
> Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/Node
>         at org.apache.axis.wsdl.gen.Parser.run(Parser.java:204)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.<init>(WSDL2Ws.java:97)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(WSDL2Ws.java:644)
> 
> should i need give something inplace of  %classpath% ....i've already defined a CLASSPATH
> variable which points to all the jar files in .....
>  
> AXIS_EXTRACT\lib\axisjava............
>  
> do i need to modify the above statement ???
>  
> am i using the right statement invoking wsdl2ws tool..................
>  
> regards,
> raj
> 



	
		
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/