-
Type:
Wish
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Documentation
-
Labels:None
-
Estimated Complexity:Unknown
CXF's documentation includes examples for a simple JAX-WS service [1], XML configuration with Spring [2], and 'manually' [3].
Spring popularly allows configuration via annotations in lieu of XML, and CXF's documentation supports this. All existing examples on CXF's site include some level of XML support.
Here is an example of hosting a JAX-WS service endpoint on github, in conjunction with Spring Boot. It is entirely annotation-driven, with no XML.
https://github.com/TheAndruu/spring-cxf
The server runs a 'hello world' service, and a decoupled client accesses the service via code generated with a CXF Gradle plugin.
Please consider including either this example or a similar one in the CXF documentation so others may benefit.
Ref:
[1] http://cxf.apache.org/docs/a-simple-jax-ws-service.html
[2] http://cxf.apache.org/docs/writing-a-service-with-spring.html
[3] http://cxf.apache.org/docs/a-simple-jax-ws-service.html