一、服务端发布webService
1.需要的jar包:activation.jar ,axis.jar ,axis-ant.jar,axis-schema.jar ,commons-discovery-0.2.jar ,
commons-logging-1.0.4.jar ,jaxrpc.jar ,log4j-1.2.8.jar ,mailapi.jar ,saaj.jar ,wsdl4j-1.5.1.jar ,xmlsec-1.3.0.jar
2.web-inf 目录下编辑server-config.wsdd 文件
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<handler type="java:org.apache.axis.handlers.http.URLMapper"
name="URLMapper" />
<!-- 附件列表start -->
<arrayMapping languageSpecificType="java:com.webService.webItem.entity.TbAttache[]" qname="ns1:TbAttacheList" xmlns:ns1="com.webService.webItem.entity"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"/>
<service name="getAttacheList" provider="java:RPC">
<parameter name="allowedMethods" value="findAttacheList"/>
<parameter name="className" value="com.webService.webItem.controller.WebAttacheController"/>
<beanMapping languageSpecificType="java:com.webService.webItem.entity.TbAttache" qname="ns1:getAttacheList" xmlns:ns1="urn:WebAttacheController"/>
</service>
<!-- 附件列表end -->
<!-- 事项列表start -->
<arrayMapping languageSpecificType="java:com.webService.webItem.entity.TbItemBaseInfo[]" qname="ns1:TbItemBaseInfoList" xmlns:ns1="com.webService.webItem.entity"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"/>
<service name="getItemList" provider="java:RPC">
<parameter name="allowedMethods" value="findItemList"/>
<parameter name="className" value="com.webService.webItem.controller.WebItemController"/>
<beanMapping languageSpecificType="java:com.webService.webItem.entity.TbItemBaseInfo" qname="ns1:getItemList" xmlns:ns1="urn:WebItemControll