I needed a simple example of how to use Apache CXF to create a client and a server to show to one of my team mates and I couldn’t find one that I liked. Hence, I created a very simple and reasonably well documented ones. You can find the code on my GitHub repository. If you’re lazy, here’s the direct link to each one of them – along with build/run instructions:
- Simple WS Types: (contains the DTOs used in both).
- Simple CXF Client
- Simple CXF Server
Happy coding!