Thanks Daniel,
Indeed it solved my problem and also allows me to know why it didn't
work in the first place.
Daniel Kulp wrote:
You also need an implementation of the cxf server side stuff. You can either:
1) use cxf-rt-transport-http-jetty to get the jetty based stuff. This is
most likely what eclipse is pulling in (more in a sec).
2) use the servlet transport built into cxf-rt-transport-http. If you do
that, you would need something like httpunit or embedded jetty something to
bring up the servlet.
Eclipse projects don't differentiate between "test" resources and "runtime"
resources like Maven does. When maven creates the projects, all the
resources are exported. In your case, the jaxws frontend has a test scope dep
on cxf-rt-transport-http-jetty. Thus, in Eclipse, all the modules that
depend on jaxws also get jetty. However, in Maven, they don't. They would
explicitly need to also declare a test scope dep.
Dan