1, the establishment maven web project, based tomcat Publishing Service
Based maven import coordinates
CXF Development
Spring development
Based on spring test development
Configuring web.xml
Spring configuration file to load, initialize the environment
CXF web-based access ****
2, introduced entity class,-Service
3, equipped with spring cxf Service release introduces namespaces
xmlns:jaxws="http://cxf.apache.org/jaxws" http://cxf.apache.org/jaxwshttp://cxf.apache.org/schemas/jaxws.xsd
Configuration Service
Configuring start the service port
访问 :http://localhost:9998/cxf_ws_spring/services/userService?wsdl
4、 整合 spring 测试,编写客户端
测试用例编写