axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Compilation Error
Date Wed, 23 Jun 2004 03:06:49 GMT

The windows developer guide was changed in the site regarding the tool
this way. Try whether these instructions will help you.
I am giving you only the parts that are changed here and there. Anyway
check the website

1. Run the following command to build the java tool.
javac -sourcepath . org\apache\axis\wsdl\wsdl2ws\WSDL2Ws*.java

2. Java -classpath .;%classpath% org.apache.axis.wsdl.wsdl2ws.WSDL2Ws
Calculator.wsdl -o./ServerOut -lc++ -sserver

You must give the class path exactly as above in that order.


> Hi,

>   I am having trouble with wsdl2ws tool.  I tried to follow the
> instruction on
> the website to generate the skeleton, wrapper and the stubs for the
> calculator
> sample code with commands like
> Java -classpath %classpath%;.\wsdl2ws.jar
> org.apache.axis.wsdl.wsdl2ws.WSDL2Ws
> Calculator.wsdl -o./ServerOut -lc++ -sserver
> It didnt work, and I got error message like
>    "Exception in thread "main" java.lang.NoClassDefFoundError: and"
> Could someone please kindly tell me what's wrong with that? (I know I
> asked
> about the exact same question yesterday already, but I really need to get
> this
> over with urgently. So, if someone's knows how to solve the problem,
> please
> reply, thanks.)
> Regards,
> Kim

View raw message