add axis to webapp in tomcat

  • Copy following jar files from C:toolsjavaapacheaxisaxis1_2axis-bin-1_2axis-1_2lib to C:toolsjavaapachejakartajakarta-tomcat-5.0.28commonlib

    axis.jar
    jaxrpc.jar
    commons-discovery-0.2.jar
    saaj.jar
    wsdl4j.jar
    log4j-1.2.8.jar

  • Copy happyaxis.jsp, i18nLib.jsp in web application root dir
  • Copy i18n.properties to WEB-INFclasses dir

  • Copy web.xml below in WEB-INFweb.xml

C:toolsjavaapacheaxisaxis1_2axis-bin-1_2axis-1_2webappsaxisWEB-INFweb.xml

<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
Application 2.3//EN” “http://java.sun.com/dtd/web-app_2_3.dtd”&gt;


  Apache-Axis
    
   
        org.apache.axis.transport.http.AxisHTTPSessionListener
   
    
 
    AxisServlet
    Apache-Axis Servlet
   
        org.apache.axis.transport.http.AxisServlet
   
 

 
    AdminServlet
    Axis Admin Servlet
   
        org.apache.axis.transport.http.AdminServlet
   
    100
 

 
    SOAPMonitorService
    SOAPMonitorService
   
        org.apache.axis.monitor.SOAPMonitorService
   
   
      SOAPMonitorPort
      5001
   
    100
 

 
    AxisServlet
    /servlet/AxisServlet
 

 
    AxisServlet
    *.jws
 

 
    AxisServlet
    /services/*
 

 
    SOAPMonitorService
    /SOAPMonitor
 

 
 <!–
 
    AdminServlet
    /servlet/AdminServlet
 
 –>

   
       
        5
   

    <!– currently the W3C havent settled on a media type for WSDL;
    http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft
    for now we go with the basic ‘it’s XML’ response –>
 
    wsdl
     text/xml
 
 
 
    xsd
    text/xml
 

 
    index.jsp
    index.html
    index.jws