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
 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s