摘要: https://wawazhua.cn/post/java/other/cxf-interceptor/ 阅读全文
posted @ 2017-03-22 23:09 dahuandahuan 阅读(4483) 评论(2) 推荐(0) 编辑
摘要: 与发布SOAP WS一样, 同样需要在web.xml文件中配置CXFServlet: 其次在Spring配置文件中加入如下配置: 其中RestServiceImpl类还是上一节中的服务实现类。 当Tomcat成功启动后,使用浏览器访问: http://localhost:8080/webapp/ws 阅读全文
posted @ 2017-03-22 21:56 dahuandahuan 阅读(1063) 评论(0) 推荐(0) 编辑