axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Johnson <Tim.John...@Sunquest.com>
Subject stock example
Date Fri, 28 Sep 2001 17:12:17 GMT
I am having a problem getting the stock example to work.
I moved the users.lst and perms.lst files to /sunquest/web/tomcat.
(I also tried /sunquest/web/tomcat/webapps
              /sunquest/web/tomcat/webapps/axis/WEB-INF)
java samples.stock.GetQuote -uuser1 -wpass1 XXX

AxisFault
  faultCode: null
  faultString: User 'user1' not authenticated
  faultActor: null
  faultDetails: null


TOMCAT_HOME=/sunquest/web/tomcat
root     28361  0.0  4.1 229896 10676 pts/1  S    08:00   0:00
/sunquest/web/jdk
1.3.0_02/bin/i386/native_threads/java -Dtomcat.home=/sunquest/web/tomcat
org.apa
che.tomcat.startup.Tomcat

deploy.xml
<!-- Use this file to deploy some handlers/chains and services  -->
<!-- Two ways to do this:                                       -->
<!--   java org.apache.axis.utils.Admin deploy.xml              -->
<!--      from the same dir that the Axis engine runs           -->
<!-- or                                                         -->
<!--   java org.apache.axis.client.http.AdminClient deploy.xml  -->
<!--      after the axis server is running                      -->
<!-- This file will be replaced by WSDD once it's ready         -->
 
<m:deploy xmlns:m="AdminService">
  <handler name="authen"
class="org.apache.axis.handlers.SimpleAuthenticationHa
ndler" />
  <handler name="author"
class="org.apache.axis.handlers.SimpleAuthorizationHan
dler" />
  <chain   name="checks"  flow="authen,author" />
  <chain   name="stock"   flow="checks,RPCDispatcher" />
 
  <service name="urn:xmltoday-delayed-quotes" pivot="stock" >
    <option name="className" value="samples.stock.StockQuoteService" />
    <option name="methodName" value="getQuote" />
    <option name="allowedRoles" value="user1,user2"/>
  </service>
  <service name="urn:cominfo" pivot="stock" >
    <option name="className" value="samples.stock.ComInfoService" />
    <option name="methodName" value="getInfo" />
    <option name="allowedRoles" value="user3"/>
  </service>
</m:deploy>

Mime
View raw message