<?xml version="1.0" encoding="ISO-8859-1"?>

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

<web-app>
<!--
  Copyright 2003, 2004  The Apache Software Foundation
   
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  
  http://www.apache.org/licenses/LICENSE-2.0
  
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
 limitations under the License.
-->

	<display-name>JaxMe Online</display-name>
    <description>
	  This small web application allows access to run the
	  JaxMe compiler on a remote schema. It returns a ZIP
	  file with the generated sources.
    </description>

    <context-param>
      <param-name>work.dir</param-name>
      <param-value>@work.dir@</param-value>
      <description>
        This parameter specifies the location of
    	the "work" directory. If such a location is
    	not set, the value ${java.io.tmpdir}
    	will be used.

        In either case, a subdirectory "jaxme" will be
        created, which is the actual working directory.
        The directory will be created or cleaned on
        startup by the InitServlet.
      </description>
    </context-param>

	<context-param>
		<param-name>http.proxyHost</param-name>
		<param-value>@http.proxyHost@</param-value>
		<description>
			This parameter, if present and nonempty, contains the name of a proxy
			host to use for connecting to remote URL's. If you set this parameter,
			you must also set the "http.proxyPort" parameter.
		</description>
	</context-param>

	<context-param>
		<param-name>http.proxyPort</param-name>
		<param-value>@http.proxyPort@</param-value>
		<description>
			This parameter, if present and nonempty, contains the name of a proxy
			host to use for connecting to remote URL's. If you set this parameter,
			you must also set the "http.proxyPort" parameter.
		</description>
	</context-param>

    <servlet>
      <servlet-name>InitServlet</servlet-name>
      <description>
      	Loaded on startup to initialize the application. In particular,
      	it creates or cleans the working directory.
      </description>
      <servlet-class>org.apache.ws.jaxme.webapp.InitServlet</servlet-class>
      <!-- Load this servlet at server startup time -->
      <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet>
      <servlet-name>JaxMeServlet</servlet-name>
      <description>
      	Invokes the JaxMe binding compiler.
      </description>
      <servlet-class>org.apache.ws.jaxme.webapp.JaxMeServlet</servlet-class>
    </servlet>

	<servlet-mapping>
      <servlet-name>JaxMeServlet</servlet-name>
      <url-pattern>/jaxme</url-pattern>
    </servlet-mapping>
</web-app>
