Hi guys, I've been stuck on this one all day now ...
 
I am getting the problem where you can't authenticate the user with the stock example, I have read all the threads and I have tried most of the suggestions with no luck. I am deploying axis  from a war which is being expanded out under weblogic , I have the two lst files in my WEB-INF directory (I have tried every other directory I could think of).
 
The only thing of note is I can't put them in the same directory as my server-config.wsdd file as it is never created when I deploy the service I get this error ...
 
- Unable to find config file.  Creating new servlet engine config file: /WEB-INF
/server-config.wsdd
- Unable to load/create servlet engine config file, attempting internal default
(from jar).
 
Every time I restart the server I have to redeploy axis.
 
This is the actual service call error ...
 
 
C:\axis\axis-1_1>java -cp ".;%AXISCLASSPATH%" samples.stock.GetQuote -lhttp://lo
calhost:7001/axis/servlet/AxisServlet -uuser1 -wpass1 XXX
starting
Password = (pass1)
AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode:
 faultString: (401)Unauthorized xxx
 faultActor:
 faultNode:
 faultDetail:
        {}string: return code:  401
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelop
e/" 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 'user1' not authenticated</fault
string>
   <detail/>
  </soapenv:Fault>
 </soapenv:Body>
</soapenv:Envelope>
(401)Unauthorized xxx
        at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.j
ava:630)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
        at org.apache.axis.client.Call.invoke(Call.java:2553)
        at org.apache.axis.client.Call.invoke(Call.java:2248)
        at org.apache.axis.client.Call.invoke(Call.java:2171)
        at org.apache.axis.client.Call.invoke(Call.java:1691)
        at samples.stock.GetQuote.getQuote(GetQuote.java:122)
        at samples.stock.GetQuote.main(GetQuote.java:139)
 
 
Users.lst deployed on weblogic server in axis\WEB INF looks like this
 
user1 pass1
user2
user3 pass3
 
 


If you're fed up with spam in your inbox sign for MSN 8 with it's intelligent junk e-mail filters.

Reply via email to