Full example of publishing web services(SOAP, REST) using Apache Cxf JAX-WS, JAX-RS and SpringFramework.
It is a translation service, that uses the google, microsoft and systran online translators.
For instance you can call the following url:
and get as result:
To test after getting the source code execute:
gradle build idea
And you will have the project configured for Intellij IDE.
Also you can execute in jetty with: