Project

General

Profile

« Previous | Next » 

Revision 2963

Added by Jing Tao over 18 years ago

Add server and server url mapping for ecogrid.

View differences:

web.xml.tomcat4
89 89
      <load-on-startup>1</load-on-startup>
90 90
    </servlet>
91 91
    -->
92
    
93
    <servlet>
94
      <servlet-name>AxisServlet</servlet-name>
95
      <display-name>Apache-Axis Servlet</display-name>
96
      <servlet-class>
97
        org.apache.axis.transport.http.AxisServlet
98
      </servlet-class>
99
    </servlet>
92 100

  
101
    <servlet>
102
       <servlet-name>AdminServlet</servlet-name>
103
       <display-name>Axis Admin Servlet</display-name>
104
       <servlet-class>
105
          org.apache.axis.transport.http.AdminServlet
106
       </servlet-class>
107
       <load-on-startup>100</load-on-startup>
108
    </servlet>
109
    
110
    <servlet>
111
       <servlet-name>SOAPMonitorService</servlet-name>
112
       <display-name>SOAPMonitorService</display-name>
113
       <servlet-class>
114
          org.apache.axis.monitor.SOAPMonitorService
115
       </servlet-class>
116
       <init-param>
117
         <param-name>SOAPMonitorPort</param-name>
118
         <param-value>5001</param-value>
119
       </init-param>
120
       <load-on-startup>100</load-on-startup>
121
    </servlet>
122
    
93 123
    <servlet-mapping>
94 124
        <servlet-name>invoker</servlet-name>
95 125
        <url-pattern>/servlet/*</url-pattern>
......
119 149
        <servlet-name>AdvancedSearchServlet</servlet-name>
120 150
        <url-pattern>/advancedSearchServlet</url-pattern>
121 151
    </servlet-mapping>
152
    
153
    <servlet-mapping>
154
      <servlet-name>AxisServlet</servlet-name>
155
      <url-pattern>/servlet/AxisServlet</url-pattern>
156
    </servlet-mapping>
122 157

  
158
   <servlet-mapping>
159
    <servlet-name>AxisServlet</servlet-name>
160
    <url-pattern>*.jws</url-pattern>
161
   </servlet-mapping>
162

  
163
   <servlet-mapping>
164
    <servlet-name>AxisServlet</servlet-name>
165
    <url-pattern>/services/*</url-pattern>
166
   </servlet-mapping>
167

  
168
   <servlet-mapping>
169
    <servlet-name>SOAPMonitorService</servlet-name>
170
    <url-pattern>/SOAPMonitor</url-pattern>
171
   </servlet-mapping>
172

  
173
   <!-- uncomment this if you want the admin servlet -->
174
   <servlet-mapping>
175
    <servlet-name>AdminServlet</servlet-name>
176
    <url-pattern>/servlet/AdminServlet</url-pattern>
177
   </servlet-mapping>
178

  
123 179
    <session-config>
124 180
      <session-timeout>30</session-timeout>
125 181
    </session-config>
182
    
183
    <!-- currently the W3C havent settled on a media type for WSDL;
184
    http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft
185
    for now we go with the basic 'it's XML' response -->
186
    <mime-mapping>
187
       <extension>wsdl</extension>
188
       <mime-type>text/xml</mime-type>
189
    </mime-mapping>
190
  
191

  
192
    <mime-mapping>
193
      <extension>xsd</extension>
194
      <mime-type>text/xml</mime-type>
195
    </mime-mapping>
126 196
</web-app>

Also available in: Unified diff