ITeye博客

Axis2和现有项目的集成

wlh269 · 2011-08-11 10:08 · J2SE · 应用服务器 · 企业应用 · 编程语言 · Markdown

axis2和现有项目集成 1.下载axis2-1.5-war.zip,解压后拷贝axis2/WEB-INF下面的conf和lib到现有项目的WEB-INF下, (注意lib中的jar包不要和现有项目中得冲突) 2.在现有项目WEB-INF下创建目录\services\TestService\META-INF,在其中添加 MANIFEST.MF和services.xml,services.xml中配置有服务类名以及全路径 [code="xml"] 传输对象 sample.ws.service.ServiceTest [/code] 3.在现有项目中得web.xml中添加AxisServlet启动配置: [code="xml"] AxisServlet org.apache.axis2.transport.http.AxisServlet 1 AxisServlet /services/* [/code] 4.部署情况如下: [img]http://dl.iteye.com/upload/attachment/534441/7a21093b-6bef-3997-92a5-9eaecfe80ac9.png[/img]

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。