Hi, I encountered the following problem with  testing the QetQuote example and 
I don’t know what can I do, so any help will be appreciated deeply!

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:

AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode: 
 faultString: (401)Unauthorized
 faultActor: 
 faultNode: 
 faultDetail: 
        {}:return code:  401
<soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode
 
xmlns:ns1="http://xml.apache.org/axis/">ns1:Server.Unauthenticated</faultcode><faultstring>User
 'userv1' not authenticated</faultstring><detail><ns2:hostname 
xmlns:ns2="http://xml.apache.org/axis/">VAIO-TISH</ns2:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
        {http://xml.apache.org/axis/}HttpErrorCode:401

(401)Unauthorized
        at 
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:663)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:94)
        at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:147)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2719)
        at org.apache.axis.client.Call.invoke(Call.java:2702)
        at org.apache.axis.client.Call.invoke(Call.java:2378)
        at org.apache.axis.client.Call.invoke(Call.java:2301)
        at org.apache.axis.client.Call.invoke(Call.java:1758)
        at samples.stock.GetQuote.getQuote(GetQuote.java:81)
        at samples.stock.GetQuote.main(GetQuote.java:95)




--------------------------------------------------------------
My env. variables are:

AXISCLASSPATH:
d:\axis\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;D:\axis\lib\wsdl4j.jar;d:\axis\lib\xmlParserAPIs.jar;d:\axis

my AXIS_HOME:
d:\axis

my AXIS_LIB:
d:\axis\lib

CLASSPATH:
d:\axis\lib;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;D:\axis\lib\wsdl4j.jar;d:\axis\lib\xmlParserAPIs.jar;d:\axis
 



--------------------------------------------------
d:/axis/lib

07.02.2005  14:01    <DIR>          .
07.02.2005  14:01    <DIR>          ..
16.11.2004  19:02          axis-ant.jar
16.11.2004  19:02          axis.jar
04.02.2005  20:43          client-config.wsdd
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
20.02.2004  19:57          xercesImpl.jar
20.02.2004  19:57          xercesSamples.jar
20.02.2004  19:57          xml-apis.jar
20.02.2004  19:57          xmlParserAPIs.jar

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