Hello,

I solve my problem, but I encoutered the following problems whith testing the 
GetQuote example:

 
When I run the admin client from: 

D:\Apache Software Foundation\Tomcat 
5.0\webapps\axis\WEB-INF\classes\samples\stock
java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient 
-lhttp://localhost:8080/axis/services/AdminService deploy.wsdd

The result is:

 Unable to find required classes (javax.activation.DataHandler and 
javax.mail.internet.MimeMultipart). Attachment support is disabled.  
Processing file deploy.wsdd
<Admin>Done processing</Admin>


Then, the next Step(7): Testing

from D:\Apache Software Foundation\Tomcat 5.0\webapps\axis\WEB-INF\classes

I run the example stockquote using the following command:

java -cp "%AXISCLASSPATH%" samples.stock.GetQuote 
-lhttp://localhost:8080/axis/servlet/AxisServlet -uuser1 -wpass1 XXX

Result:

Exception in thread "main" java.lang.NoClassDefFoundError: 
samples/stock/GetQuote


Could anybody tell me whats wrong with this?
Thx!


My env. Variables are:
------------------------------------------

AXIS_HOME
d:\axis 

AXIS_LIB
d:\axis\lib 

AXISCLASSPATH
d:\axis\lib\axis.jar;d:\axis\lib\commons-discovery.jar;d:\axis\lib\commons-logging.jar;d:\axis\lib\jaxrpc.jar;d:\axis\lib\saaj.jar;d:\axis\lib\log4j-1.2.8.jar;d:\axis\lib\xml-apis.jar;d:\axis\lib\xercesImpl.jar;

CLASSPATH
D:\JAVA\j2sdk1.4.1_06\lib;d:\axis\lib\axis.jar;d:\axis\lib\commons-discovery.jar;d:\axis\lib\commons-logging.jar;d:\axis\lib\jaxrpc.jar;d:\axis\lib\saaj.jar;d:\axis\lib\log4j-1.2.8.jar;d:\axis\lib\xml-apis.jar;d:\axis\lib\xercesImpl.jar
 

Here are some of my dir’s:
-----------------------------------------------------
d:\axis\lib

16.11.2004  19:02           axis-ant.jar
16.11.2004  19:02           axis.jar
16.11.2004  19:02           commons-discovery.jar
16.11.2004  19:02           commons-logging.jar
16.11.2004  19:02           jaxrpc.jar
16.11.2004  19:02           log4j-1.2.8.jar
16.11.2004  19:02           log4j.properties
16.11.2004  19:02           saaj.jar
16.11.2004  19:02           wsdl4j.jar
04.02.2005  20:37           Xerces-J-tools.2.5.0.zip
31.07.2003  12:30           xercesImpl.jar
31.07.2003  12:30           xml-apis.jar


----------------------------------------------
D:\Apache Software Foundation\Tomcat 5.0\webapps\axis

06.02.2005  21:53    <DIR>          .
06.02.2005  21:53    <DIR>          ..
16.11.2004  19:02             2.876 EchoHeaders.jws
16.11.2004  19:02             9.912 fingerprint.jsp
16.11.2004  19:02            15.928 happyaxis.jsp
16.11.2004  19:02             1.666 index.html
06.02.2005  02:24             4.896 SOAPMonitorApplet$ServiceFilterPanel.class
06.02.2005  02:24             1.470 SOAPMonitorApplet$SOAPMonitorData.class
06.02.2005  02:24             5.153 SOAPMonitorApplet$SOAPMonitorFilter.class
06.02.2005  02:24            12.245 SOAPMonitorApplet$SOAPMonitorPage.class
06.02.2005  02:24             4.653 
SOAPMonitorApplet$SOAPMonitorTableModel.class
06.02.2005  02:24             2.110 SOAPMonitorApplet$SOAPMonitorTextArea.class
06.02.2005  02:24             2.933 SOAPMonitorApplet.class
16.11.2004  19:02            58.258 SOAPMonitorApplet.java
16.11.2004  19:02             2.034 StockQuoteService.jws
06.02.2005  02:41    <DIR>          WEB-INF


----------------------------------------------- 
D:\Apache Software Foundation\Tomcat 
5.0\webapps\axis\WEB-INF\classes\samples\stock

16.11.2004  19:02               build.xml
16.11.2004  19:02               client_deploy.xml
16.11.2004  19:02               ComInfoService.class
16.11.2004  19:02              ComInfoService.java
06.02.2005  23:41               deploy.wsdd
16.11.2004  19:02               GetInfo.class
16.11.2004  19:02               GetInfo.java
16.11.2004  19:02               GetQuote.class
16.11.2004  19:02               GetQuote.java
16.11.2004  19:02               GetQuote.wsdl
16.11.2004  19:02              GetQuote1.class
16.11.2004  19:02               GetQuote1.java
16.11.2004  19:02               GetQuote2.class
16.11.2004  19:02               GetQuote2.java
05.02.2005  02:56               myfile.exe
16.11.2004  19:02               README
16.11.2004  19:02               StockQuoteService.class
16.11.2004  19:02              StockQuoteService.java
16.11.2004  19:02              StockQuoteService.jws
16.11.2004  19:02              testit.cmd
16.11.2004  19:02              testit.sh
16.11.2004  19:02              undeploy.wsdd
16.11.2004  19:02              users.lst

Arcor-DSL: die echte Flatrate für alle Bandbreiten. Jetzt ohne Einrichtungspreis
einsteigen oder wechseln. Arcor-DSL ist in vielen Anschlussgebieten verfügbar.
http://www.arcor.de/home/redir.php/emf-dsl-1

Reply via email to