axis server-config.wsdd

<deployment xmlns="http://xml.apache.org/axis/wsdd/"
 xmlns:java="http://xml.apache.org/axis/wsdd/providers/java" xmlns:ns1="http://xml.apache.org/axis/wsdd/">
 
 <globalConfiguration>
  <parameter name="sendMultiRefs" value="true" />
  <parameter name="disablePrettyXML" value="true" />
  <parameter name="adminPassword" value="admin" />
  <parameter name="dotNetSoapEncFix" value="true" />
  <parameter name="enableNamespacePrefixOptimization" value="false" />
  <parameter name="sendXMLDeclaration" value="true" />
  <parameter name="sendXsiTypes" value="true" />
  <parameter name="attachments.implementation"
   value="org.apache.axis.attachments.AttachmentsImpl" />
  <requestFlow>
   <handler type="java:org.apache.axis.handlers.JWSHandler">
    <parameter name="scope" value="session" />
   </handler>
   <handler type="java:org.apache.axis.handlers.JWSHandler">
    <parameter name="scope" value="request" />
    <parameter name="extension" value=".jwr" />
   </handler>
  </requestFlow>
 </globalConfiguration>
 
 <handler name="URLMapper" type="java:org.apache.axis.handlers.http.URLMapper" />
 <handler name="LocalResponder"
  type="java:org.apache.axis.transport.local.LocalResponder" />
 <handler name="Authenticate"
  type="java:org.apache.axis.handlers.SimpleAuthenticationHandler" />
  

<!-- 配置自己发布的service -->
 <service name="TestServices" provider="java:RPC" style="document"
  use="literal">
  <!-- <parameter name="wsdlTargetNamespace" value="http://yxms.fsti.com/activity/notify" />
  <parameter name="wsdlServiceElement" value="ActivityNotifyService" />
  <parameter name="schemaQualified" value="http://yxms.fsti.com/activity/notify/model" />
  <parameter name="wsdlServicePort" value="ActivityNotifySoap" /> -->
  <parameter name="className"
   value="com.service.Test" />
  <parameter name="wsdlPortType" value="Test" />
  <parameter name="typeMappingVersion" value="1.2" />
  <parameter name="allowedMethods" value="*" />

  <!-- <typeMapping xmlns:ns="http://yxms.fsti.com/activity/notify/model"
   qname="ns:dispatchStatusRequest"
   type="java:com.fsti.yxms.activity.notify.model.DispatchStatusRequest"
   serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
   deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
   encodingstyle="" /> -->
 </service>
 
 <service name="AdminService" provider="java:MSG">
  <parameter name="allowedMethods" value="AdminService" />
  <parameter name="enableRemoteAdmin" value="false" />
  <parameter name="className" value="org.apache.axis.utils.Admin" />
  <namespace>http://xml.apache.org/axis/wsdd/</namespace>
 </service>


 <service name="Version" provider="java:RPC">
  <parameter name="allowedMethods" value="getVersion" />
  <parameter name="className" value="org.apache.axis.Version" />
 </service>


 <transport name="http">
  <requestFlow>
   <handler type="URLMapper" />
   <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler" />
  </requestFlow>
  <parameter name="qs:list"
   value="org.apache.axis.transport.http.QSListHandler" />
  <parameter name="qs:wsdl"
   value="org.apache.axis.transport.http.QSWSDLHandler" />
  <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:method"
   value="org.apache.axis.transport.http.QSMethodHandler" />
  <parameter name="qs.wsdl"
   value="org.apache.axis.transport.http.QSWSDLHandler" />
 </transport>
 <transport name="local">
  <responseFlow>
   <handler type="LocalResponder" />
  </responseFlow>
 </transport>
</deployment>

相关推荐