axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eric lindvall <e...@5stops.com>
Subject Re: unable to run WSDL2WS tool............
Date Tue, 18 May 2004 00:36:52 GMT
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

Mime
View raw message