随笔分类 -  Spring

摘要:首先,要获得搭建好的WebService服务的WSDL,如要实现国内手机号码归属地查询WEB服务,其WSDL为:http://ws.webxml.com.cn/WebServices/MobileCodeWS.asmx?WSDL 拿到WSDL后在浏览器打开看服务是否正常: 第一种: 打开cmd,运行 阅读全文
posted @ 2019-11-29 10:50 ヤBig、Bossづ 阅读(248) 评论(0) 推荐(0)
摘要:pom.xml文件引入包: <!--WerbService CXF依赖--> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>3.1.12</ 阅读全文
posted @ 2019-11-29 09:56 ヤBig、Bossづ 阅读(254) 评论(0) 推荐(0)
摘要:将WebService的WSDL生成的代码的命令: wsimport -p com -s . com http://localhost:8080/service/user?wsdl Spring boot 整合CXF开发web service 遇到的问题: 1、成功集成cxf后,发现只有webser 阅读全文
posted @ 2019-11-22 17:06 ヤBig、Bossづ 阅读(1707) 评论(0) 推荐(0)
摘要:Spring 基于 SchedulingConfigurer 实现定时任务,代码如下: 阅读全文
posted @ 2019-10-20 16:05 ヤBig、Bossづ 阅读(2420) 评论(0) 推荐(0)