I can't help you exactly with your specific problem (although it seems strange that your class is named org.apache.axis.client.AdminClient and yet the error says it can't find org.sample.axis.AdminClient) but one recommendation I would have is to see if you can use Apache Ant for your build, deployment, and execution tasks. This way, you don't have to worry about your AXISCLASSPATH working (you define your libraries within the Ant build script) and you won't have to memorize the syntax of the various commands because everything is written down in the Ant build script. Also, I am unsure but I believe Ant has a verbose debugging option that lists classes it can find while running, which may help in fixing your current problem.
Glen Am Freitag, den 09.03.2007, 12:38 +0100 schrieb [EMAIL PROTECTED]: > Hi! > I don't know very well how to use correctly Axis 1.4. > I'm trying to deploy StockQuoteService.java placed into > axis-1_4\webapps\axis\WEB-INF\classes\samples\stock folder > with this deploy file deploy-base.wsdd placed in the same folder: > > <deployment name="test" xmlns="http://xml.apache.org/axis/wsdd/" > xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> > <service name="xmltoday-delayed-quotes-base" provider="java:RPC" > style="document" use="literal"> > <parameter name="className" value="samples.stock.StockQuoteService"/> > <parameter name="allowedMethods" value="getQuote"/> > <parameter name="scope" value="application"/> > </service> > </deployment> > > I wrote a file .bat in the same folder: > > java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient > samples/stock/server/deploy-base > > > where axisclasspath is an environment variable that containe > all .jar files paths in lib folder. > > But i have this error: > Exception in thread "main" java.lang.noclassdefounderror > org/sample/Axis/AdminClient > > When i'll solve this problem will be correct this way to start it? > > java -cp %AXISCLASSPATH% samples.stock.client.StockServiceClient XXX > http://localhost:8080/axis/services/xmltoday-delayed-quotes-base > > > Many thanks to all > Antonio > > > ------------------------------------------------------ > Leggi GRATIS le tue mail con il telefonino i-mode⢠di Wind > http://i-mode.wind.it > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
