CXF in Eclipse JEE

Windows--->Preferences-->Web Service-->CXF 2.x Preferences  add CXF runtime
Endpoint Config-->Use CXF Servlet

Windows--->Preferences-->Server--> add new tomcat7 runtime environments

Windows--->Preferences-->Web Service-->Server and Runtime--> tomcat7 and CXF 2.x

Create web--->Dynamic Web Project

Copy CXF libs--->WebContent/WEB-INF/lib    [Optional]

right-click your service class, Web Service--->Create Web Service  ......

猜你喜欢

转载自adapterofcoms.iteye.com/blog/2052941