You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andrew Cuga (JIRA)" <ji...@apache.org> on 2015/03/12 17:59:39 UTC

[jira] [Created] (CXF-6293) Provide CXF + Spring Boot example without XML

Andrew Cuga created CXF-6293:
--------------------------------

             Summary: Provide CXF + Spring Boot example without XML
                 Key: CXF-6293
                 URL: https://issues.apache.org/jira/browse/CXF-6293
             Project: CXF
          Issue Type: Wish
          Components: Documentation
            Reporter: Andrew Cuga
            Priority: Minor


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]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)