webservice技术素材

用axis2和eclipse开发:http://www.blogjava.net/tianchijiaozi/archive/2013/03/15/396452.htmlhtml

 

axis2整合spring mvc:http://www.cnblogs.com/wqj-blog/p/5900223.htmljava

 

文件下载:http://axis.apache.org/axis2/java/core/download.cgiweb

 

1. 要按照说明把应该下载的文件下载好,环境搭建好;spring

2. 选择Class File Location的时候要填写/Users/nantongribao/Documents/eclipse_workspace/webserviceService/build/classes,注意不要写下面的包名,填写Class name的时候写com.hengzecn.webservice.HelloWorldService就能够了;apache

3. 启东tomcat的时候,运行sh文件没有权限,须要把目录下面全部的sh文件都赋予可执行权限 chmod 777 *.sh;tomcat

4. Eclipse中如何删除JSR-109 Web Services,要在倒三角里面把视图给删掉;服务器

在构建客户端遇到的问题有:mvc

1. Exception occurred during code generation for the WSDL : java.lang.NoClassDefFoundError: eclipse

由于客户端不能自动引入axis2的xmlschema-core-2.2.1.jar库,经过手工拷贝,而且add to build path,并且要重启eclipse客户端,必定要重启!ui

2. 把arr文件放到服务器部署无效,须要重启tomcat服务器!

相关文章
相关标签/搜索