CXF Maven Archetypes
About this task
Apache CXF provides a Maven archetype for creating Java-first web services. This section explores using it along with the Eclipse's m2eclipse plugin. Open Eclipse:
Procedure
Results
The project skeleton is created and can be started, and you can add Java methods to represent the web service operations you want to implement. "HelloWorld.java" is the simple interface that this archetype generates, along with an ready-to-run implementation (HelloWorldImpl.java) of it. Both can be changed when implementing your own web service provider.
Since the CXF Maven archetype does not provide a test SOAP client or provide OSGi deployment capability, the next sections explain how to manually add in OSGi configuration as well as to use SoapUI to make SOAP calls.