server-config.wsdd配置一例
<?
xml version="1.0" encoding="UTF-8"
?>
< deployment xmlns ="http://xml.apache.org/axis/wsdd/" xmlns:java ="http://xml.apache.org/axis/wsdd/providers/java" >
< globalConfiguration >
< parameter name ="sendMultiRefs" value ="true" />
< parameter name ="disablePrettyXML" value ="true" />
< parameter name ="adminPassword" value ="admin" />
< parameter name ="attachments.Directory" value ="E:\MyWork\MOSS\moss\itc-lab-moss\WEB-INF\attachments" />
< parameter name ="axis.servicesPath" value ="/mossWS/" />
< 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 ="Authenticate" type ="java:org.apache.axis.handlers.SimpleAuthenticationHandler" />
< handler name ="LocalResponder" type ="java:org.apache.axis.transport.local.LocalResponder" />
< handler name ="URLMapper" type ="java:org.apache.axis.handlers.http.URLMapper" />
< handler name ="soapmonitor" type ="java:org.apache.axis.handlers.SOAPMonitorHandler" >
< parameter name ="wsdlURL" value ="/axis/SOAPMonitorService-impl.wsdl" />
< parameter name ="namespace" value ="http://tempuri.org/wsdl/2001/12/SOAPMonitorService-impl.wsdl" />
< parameter name ="serviceName" value ="SOAPMonitorService" />
< parameter name ="portName" value ="Demo" />
</ handler >
< 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 ="AddQuotation" provider ="java:RPC" style ="document" use ="literal" >
< parameter name ="allowedMethods" value ="addQuotation" />
< parameter name ="wsdlPortType" value ="AddQuotation" />
< parameter name ="wsdlServicePort" value ="AddQuotation" />
< parameter name ="className" value ="ws.control.MOSSWS_CBP_EntryAdd" />
< parameter name ="wsdlServiceElement" value ="AddQuotation" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSQTDataVO" qname ="ns1:AddQuotationRequest" xmlns:ns1 ="http://127.0.0.1:8080/html/mossWS/AddQuotation" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSQTDetail" qname ="ns2:QuotationDetail" xmlns:ns2 ="http://127.0.0.1:8080/html/mossWS/AddQuotation" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSQTHeader" qname ="ns3:QuotationHeader" xmlns:ns3 ="http://127.0.0.1:8080/html/mossWS/AddQuotation" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSResVO" qname ="ns4:AddQuotationResponce" xmlns:ns4 ="http://127.0.0.1:8080/html/mossWS/AddQuotation" />
< namespace > http://127.0.0.1:8080/html/mossWS/AddQuotation </ namespace >
</ service >
< service name ="ModifyQuotation" provider ="java:RPC" style ="document" use ="literal" >
< parameter name ="allowedMethods" value ="modifyQuotation" />
< parameter name ="wsdlPortType" value ="ModifyQuotation" />
< parameter name ="wsdlServicePort" value ="ModifyQuotation" />
< parameter name ="className" value ="ws.control.MOSSWS_CBP_EntryModify" />
< parameter name ="wsdlServiceElement" value ="ModifyQuotation" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSQTDataVO" qname ="ns5:ModifyQuotationRequest" xmlns:ns5 ="http://127.0.0.1:8080/html/mossWS/ModifyQuotation" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSQTDetail" qname ="ns6:QuotationDetail" xmlns:ns6 ="http://127.0.0.1:8080/html/mossWS/ModifyQuotation" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSQTHeader" qname ="ns7:QuotationHeader" xmlns:ns7 ="http://127.0.0.1:8080/html/mossWS/ModifyQuotation" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSResVO" qname ="ns8:QuotationResponce" xmlns:ns8 ="http://127.0.0.1:8080/html/mossWS/ModifyQuotation" />
< namespace > http://127.0.0.1:8080/html/mossWS/ModifyQuotation </ namespace >
</ service >
< service name ="Version" provider ="java:RPC" >
< parameter name ="allowedMethods" value ="getVersion" />
< parameter name ="className" value ="org.apache.axis.Version" />
</ service >
< service name ="ChangeQTPermission" provider ="java:RPC" style ="document" use ="literal" >
< parameter name ="allowedMethods" value ="changeQTPermission" />
< parameter name ="wsdlPortType" value ="ChangeQTPermission" />
< parameter name ="wsdlServicePort" value ="ChangeQTPermission" />
< parameter name ="className" value ="ws.control.MOSSWS_CBP_EntryChangeQTPermission" />
< parameter name ="wsdlServiceElement" value ="ChangeQTPermission" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSQTKeyVO" qname ="ns9:ChangeQTPermissionRequest" xmlns:ns9 ="http://127.0.0.1:8080/html/mossWS/ChangeQTPermission" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSResVO" qname ="ns10:QuotationResponce" xmlns:ns10 ="http://127.0.0.1:8080/html/mossWS/ChangeQTPermission" />
< namespace > http://127.0.0.1:8080/html/mossWS/ChangeQTPermission </ namespace >
</ service >
< service name ="CompleteQuotation" provider ="java:RPC" style ="document" use ="literal" >
< parameter name ="allowedMethods" value ="completeQuotation" />
< parameter name ="wsdlPortType" value ="CompleteQuotation" />
< parameter name ="wsdlServicePort" value ="CompleteQuotation" />
< parameter name ="className" value ="ws.control.MOSSWS_CBP_EntryComplete" />
< parameter name ="wsdlServiceElement" value ="CompleteQuotation" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSQTKeyVO" qname ="ns11:CompleteQuotationRequest" xmlns:ns11 ="http://127.0.0.1:8080/html/mossWS/CompleteQuotation" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSResVO" qname ="ns12:QuotationResponce" xmlns:ns12 ="http://127.0.0.1:8080/html/mossWS/CompleteQuotation" />
< namespace > http://127.0.0.1:8080/html/mossWS/CompleteQuotation </ namespace >
</ service >
< service name ="SOAPMonitorService" provider ="java:RPC" >
< parameter name ="allowedMethods" value ="publishMessage" />
< parameter name ="className" value ="org.apache.axis.monitor.SOAPMonitorService" />
< parameter name ="scope" value ="Application" />
</ 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 >
< deployment xmlns ="http://xml.apache.org/axis/wsdd/" xmlns:java ="http://xml.apache.org/axis/wsdd/providers/java" >
< globalConfiguration >
< parameter name ="sendMultiRefs" value ="true" />
< parameter name ="disablePrettyXML" value ="true" />
< parameter name ="adminPassword" value ="admin" />
< parameter name ="attachments.Directory" value ="E:\MyWork\MOSS\moss\itc-lab-moss\WEB-INF\attachments" />
< parameter name ="axis.servicesPath" value ="/mossWS/" />
< 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 ="Authenticate" type ="java:org.apache.axis.handlers.SimpleAuthenticationHandler" />
< handler name ="LocalResponder" type ="java:org.apache.axis.transport.local.LocalResponder" />
< handler name ="URLMapper" type ="java:org.apache.axis.handlers.http.URLMapper" />
< handler name ="soapmonitor" type ="java:org.apache.axis.handlers.SOAPMonitorHandler" >
< parameter name ="wsdlURL" value ="/axis/SOAPMonitorService-impl.wsdl" />
< parameter name ="namespace" value ="http://tempuri.org/wsdl/2001/12/SOAPMonitorService-impl.wsdl" />
< parameter name ="serviceName" value ="SOAPMonitorService" />
< parameter name ="portName" value ="Demo" />
</ handler >
< 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 ="AddQuotation" provider ="java:RPC" style ="document" use ="literal" >
< parameter name ="allowedMethods" value ="addQuotation" />
< parameter name ="wsdlPortType" value ="AddQuotation" />
< parameter name ="wsdlServicePort" value ="AddQuotation" />
< parameter name ="className" value ="ws.control.MOSSWS_CBP_EntryAdd" />
< parameter name ="wsdlServiceElement" value ="AddQuotation" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSQTDataVO" qname ="ns1:AddQuotationRequest" xmlns:ns1 ="http://127.0.0.1:8080/html/mossWS/AddQuotation" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSQTDetail" qname ="ns2:QuotationDetail" xmlns:ns2 ="http://127.0.0.1:8080/html/mossWS/AddQuotation" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSQTHeader" qname ="ns3:QuotationHeader" xmlns:ns3 ="http://127.0.0.1:8080/html/mossWS/AddQuotation" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSResVO" qname ="ns4:AddQuotationResponce" xmlns:ns4 ="http://127.0.0.1:8080/html/mossWS/AddQuotation" />
< namespace > http://127.0.0.1:8080/html/mossWS/AddQuotation </ namespace >
</ service >
< service name ="ModifyQuotation" provider ="java:RPC" style ="document" use ="literal" >
< parameter name ="allowedMethods" value ="modifyQuotation" />
< parameter name ="wsdlPortType" value ="ModifyQuotation" />
< parameter name ="wsdlServicePort" value ="ModifyQuotation" />
< parameter name ="className" value ="ws.control.MOSSWS_CBP_EntryModify" />
< parameter name ="wsdlServiceElement" value ="ModifyQuotation" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSQTDataVO" qname ="ns5:ModifyQuotationRequest" xmlns:ns5 ="http://127.0.0.1:8080/html/mossWS/ModifyQuotation" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSQTDetail" qname ="ns6:QuotationDetail" xmlns:ns6 ="http://127.0.0.1:8080/html/mossWS/ModifyQuotation" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSQTHeader" qname ="ns7:QuotationHeader" xmlns:ns7 ="http://127.0.0.1:8080/html/mossWS/ModifyQuotation" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSResVO" qname ="ns8:QuotationResponce" xmlns:ns8 ="http://127.0.0.1:8080/html/mossWS/ModifyQuotation" />
< namespace > http://127.0.0.1:8080/html/mossWS/ModifyQuotation </ namespace >
</ service >
< service name ="Version" provider ="java:RPC" >
< parameter name ="allowedMethods" value ="getVersion" />
< parameter name ="className" value ="org.apache.axis.Version" />
</ service >
< service name ="ChangeQTPermission" provider ="java:RPC" style ="document" use ="literal" >
< parameter name ="allowedMethods" value ="changeQTPermission" />
< parameter name ="wsdlPortType" value ="ChangeQTPermission" />
< parameter name ="wsdlServicePort" value ="ChangeQTPermission" />
< parameter name ="className" value ="ws.control.MOSSWS_CBP_EntryChangeQTPermission" />
< parameter name ="wsdlServiceElement" value ="ChangeQTPermission" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSQTKeyVO" qname ="ns9:ChangeQTPermissionRequest" xmlns:ns9 ="http://127.0.0.1:8080/html/mossWS/ChangeQTPermission" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSResVO" qname ="ns10:QuotationResponce" xmlns:ns10 ="http://127.0.0.1:8080/html/mossWS/ChangeQTPermission" />
< namespace > http://127.0.0.1:8080/html/mossWS/ChangeQTPermission </ namespace >
</ service >
< service name ="CompleteQuotation" provider ="java:RPC" style ="document" use ="literal" >
< parameter name ="allowedMethods" value ="completeQuotation" />
< parameter name ="wsdlPortType" value ="CompleteQuotation" />
< parameter name ="wsdlServicePort" value ="CompleteQuotation" />
< parameter name ="className" value ="ws.control.MOSSWS_CBP_EntryComplete" />
< parameter name ="wsdlServiceElement" value ="CompleteQuotation" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSQTKeyVO" qname ="ns11:CompleteQuotationRequest" xmlns:ns11 ="http://127.0.0.1:8080/html/mossWS/CompleteQuotation" />
< beanMapping languageSpecificType ="java:ws.datamodel.GWOSResVO" qname ="ns12:QuotationResponce" xmlns:ns12 ="http://127.0.0.1:8080/html/mossWS/CompleteQuotation" />
< namespace > http://127.0.0.1:8080/html/mossWS/CompleteQuotation </ namespace >
</ service >
< service name ="SOAPMonitorService" provider ="java:RPC" >
< parameter name ="allowedMethods" value ="publishMessage" />
< parameter name ="className" value ="org.apache.axis.monitor.SOAPMonitorService" />
< parameter name ="scope" value ="Application" />
</ 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 >
公司用到的(future-software)server-config.wsdd
<?
xml version="1.0" encoding="UTF-8"
?>
< deployment xmlns ="http://xml.apache.org/axis/wsdd/" xmlns:java ="http://xml.apache.org/axis/wsdd/providers/java" >
< globalConfiguration >
< parameter name ="sendMultiRefs" value ="true" />
< parameter name ="disablePrettyXML" value ="true" />
< parameter name ="adminPassword" value ="admin" />
< parameter name ="attachments.Directory" value ="C:\Tomcat 5.0 (iplanetldap)\webapps\axis\WEB-INF\attachments" />
< parameter name ="dotNetSoapEncFix" value ="true" />
< parameter name ="enableNamespacePrefixOptimization" value ="true" />
< parameter name ="sendXMLDeclaration" value ="true" />
< parameter name ="attachments.implementation" value ="org.apache.axis.attachments.AttachmentsImpl" />
< parameter name ="sendXsiTypes" value ="true" />
< 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 ="LocalResponder" type ="java:org.apache.axis.transport.local.LocalResponder" />
< handler name ="URLMapper" type ="java:org.apache.axis.handlers.http.URLMapper" />
< handler name ="Authenticate" type ="java:org.apache.axis.handlers.SimpleAuthenticationHandler" />
< 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 >
< service name ="UUMInterface" provider ="java:RPC" >
< parameter name ="allowedMethods" value ="authenticate,getPrincipal,syncResource,updateEntry" />
< parameter name ="className" value ="com.futuresoftware.uum.jndi.UUMGate" />
</ 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 >
< deployment xmlns ="http://xml.apache.org/axis/wsdd/" xmlns:java ="http://xml.apache.org/axis/wsdd/providers/java" >
< globalConfiguration >
< parameter name ="sendMultiRefs" value ="true" />
< parameter name ="disablePrettyXML" value ="true" />
< parameter name ="adminPassword" value ="admin" />
< parameter name ="attachments.Directory" value ="C:\Tomcat 5.0 (iplanetldap)\webapps\axis\WEB-INF\attachments" />
< parameter name ="dotNetSoapEncFix" value ="true" />
< parameter name ="enableNamespacePrefixOptimization" value ="true" />
< parameter name ="sendXMLDeclaration" value ="true" />
< parameter name ="attachments.implementation" value ="org.apache.axis.attachments.AttachmentsImpl" />
< parameter name ="sendXsiTypes" value ="true" />
< 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 ="LocalResponder" type ="java:org.apache.axis.transport.local.LocalResponder" />
< handler name ="URLMapper" type ="java:org.apache.axis.handlers.http.URLMapper" />
< handler name ="Authenticate" type ="java:org.apache.axis.handlers.SimpleAuthenticationHandler" />
< 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 >
< service name ="UUMInterface" provider ="java:RPC" >
< parameter name ="allowedMethods" value ="authenticate,getPrincipal,syncResource,updateEntry" />
< parameter name ="className" value ="com.futuresoftware.uum.jndi.UUMGate" />
</ 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 >
deploy.wsdd
<
deployment
xmlns
="http://xml.apache.org/axis/wsdd/"
xmlns:java
="http://xml.apache.org/axis/wsdd/providers/java"
>
< service name ="UUMInterface" provider ="java:RPC" >
< parameter name ="className" value ="com.futuresoftware.uum.jndi.UUMGate" />
< parameter name ="allowedMethods" value ="authenticate,getPrincipal,syncResource" />
</ service >
</ deployment >
< service name ="UUMInterface" provider ="java:RPC" >
< parameter name ="className" value ="com.futuresoftware.uum.jndi.UUMGate" />
< parameter name ="allowedMethods" value ="authenticate,getPrincipal,syncResource" />
</ service >
</ deployment >