java_first_jaxws example should use maven and JaxWs*FactoryBean
---------------------------------------------------------------

                 Key: CXF-1125
                 URL: https://issues.apache.org/jira/browse/CXF-1125
             Project: CXF
          Issue Type: Improvement
          Components: Samples
            Reporter: Christian Schneider


When I tried to start with cxf I had the problem that I did not find a good 
java first example that was extensible.
I wanted to start with Java First , JAX-WS and JAXB and build the project with 
maven. I wanted an example that I could then
gradually extend to play with the features of cxf.

The current example has some shortcommings.

1) There is no support for maven. So people using maven will have difficulties 
setting all dependencies correctly

Can be easily fixed by adding a pom.xml

2) The way the server and client are set up gives you no clue how to extend the 
thing

I would propose using JaxWs*FactoryBean. The developer using the example will 
be more familiar with this style.

3) You don“t see the incoming and outgoing messages

I would add logging interceptors

4) The example lacks the @webparam annotation so it will not really produce a 
nice wsdl

Simple: add the annotation

I will work out a patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to