<?xml version="1.0" encoding="UTF-8"?>
<!--
 - JOnAS: Java(TM) Open Application Server
 - Copyright (C) 1999-2004 Bull S.A.
 - Contact: jonas-team@objectweb.org
 -
 - This library is free software; you can redistribute it and/or
 - modify it under the terms of the GNU Lesser General Public
 - License as published by the Free Software Foundation; either
 - version 2.1 of the License, or any later version.
 -
 - This library is distributed in the hope that it will be useful,
 - but WITHOUT ANY WARRANTY; without even the implied warranty of
 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 - Lesser General Public License for more details.
 -
 - You should have received a copy of the GNU Lesser General Public
 - License along with this library; if not, write to the Free Software
 - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
 - USA
 -
 - $Id:server-config.wsdd 11250 2007-08-08 09:56:58Z durieuxp $
-->
<deployment name="defaultServerConfig"
            xmlns="http://xml.apache.org/axis/wsdd/"
            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"
            xmlns:handler="http://xml.apache.org/axis/wsdd/providers/handler">

 <handler type="java:org.ow2.jonas.ws.axis.JonasHandler" name="JonasInterceptor"/>

 <globalConfiguration>
    <!-- Add global configurations elements here -->
    <parameter name="disablePrettyXML" value="true"/>
    <parameter name="use-servlet-security" value="true"/>
  <requestFlow>
   <handler type="JonasInterceptor"/>
  </requestFlow>
  <responseFlow>
   <handler type="JonasInterceptor"/>
  </responseFlow>
  <faultFlow>
   <handler type="JonasInterceptor"/>
  </faultFlow>
 </globalConfiguration>

 <!-- Insert our own URL Mapper that allow simplified endpoint URL -->
 <handler type="java:org.ow2.jonas.ws.axis.URLMapper" name="URLMapper"/>
 <handler type="java:org.apache.axis.transport.local.LocalResponder" name="LocalResponder"/>
 <handler type="java:org.apache.axis.handlers.SimpleAuthenticationHandler" name="Authenticate"/>
<!--
 <service name="AdminService" provider="java:MSG">
  <namespace>http://xml.apache.org/axis/wsdd/</namespace>
  <parameter name="allowedMethods" value="AdminService"/>
  <parameter name="enableRemoteAdmin" value="false"/>
  <parameter name="className" value="org.apache.axis.utils.Admin"/>
 </service>

 <service name="Version" provider="java:RPC">
  <parameter name="allowedMethods" value="getVersion"/>
  <parameter name="className" value="org.apache.axis.Version"/>
 </service>
-->
 <transport name="http">
  <parameter name="qs.list"
               value="org.apache.axis.transport.http.QSListHandler"/>
  <parameter name="qs.method"
               value="org.apache.axis.transport.http.QSMethodHandler"/>
  <parameter name="qs.jwsdl"
               value="org.ow2.jonas.ws.axis.QSUpdateServiceWSDLHandler"/>
  <requestFlow>
   <handler type="URLMapper"/>
   <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
  </requestFlow>
 </transport>

 <transport name="local">
  <responseFlow>
   <handler type="LocalResponder"/>
  </responseFlow>
 </transport>

</deployment>
