首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

WebService与Spring组合

2012-11-11 
WebService与Spring结合?环境:aixs1_4 ?spring 2.0.81.构建webservice环境axis的需要的包有:??这个文件用

WebService与Spring结合

?

环境:aixs1_4 ?spring 2.0.8

1.构建webservice环境

axis的需要的包有:

?

?这个文件用于描述提供的服务,如果没与spring结合的话

?

?<parameter name="allowedMethods" value="*" />表示SpringOperatorHistoryRecord中所有的方法都用于提供服务,当然继承来的不算

?

?

这样一个webservice就建好了,并与spring结合好了,启动tomcat,进入http://localhost:8080/project_name/services就能看到相应的webservice的名称,点击链接进去就能看到对应的wsdl文件,用它来生成client调用的对象

?

?

?

?

?

?

?

?

?

?

?

?

?

热点排行