It pretty much depends on what you need/want to customize.
First of all, if you want to set handlers, the @HandlerChain annotation, being part of the JSR-181 spec, is of course available and supported like other standard jaxws/jws features.
Basic WS-* functionalities do not require Spring configuration, there're some examples in the sources (http://anonsvn.jboss.org/repos/jbossws/stack/cxf/tags/jbossws-cxf-3.4.1.GA/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/ , http://anonsvn.jboss.org/repos/jbossws/stack/cxf/tags/jbossws-cxf-3.4.1.GA/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/):
- you can use WS-Addressing through the standard @Addressing annotation and letting the stack automatically generate the wsdl with proper wsa policy. The client should then be able to automatically deal with that (the policy engine is on by default with jbossws-cxf integration) and enable wsa; alternatively you can still use jaxws features when building up the service/port on client side;
- almost the same as above applies for MTOM
- you can also enable basic / default WS-RM by having your endpoint use a wsdl with ws-rm policy; again, the policy engine will take care of enabling ws-rm
Besides that, you can still use the Apache CXF annotations for interceptors, so @InInterceptors, @OutInterceptors, etc.
Generally speaking, for functionalities going beyond Java/JCP specs, the Spring based cxf.xml/jbossws-cxf.xml is the CXF approach to configuration through proprietary descriptors, the same way as JBossWS-Native having the client/endpoint pre-set configs. But there's of course the programmatic and annotation approach that can be used in simple cases.
I think I'll go with annotations (as I don't mind being stack specific). I've discovered them too late though, otherwise I'd avoided the post .
By the way, and sorry for crossposting, did you have a chance to look at the STS problem with the CFX I've posted few days ago (http://community.jboss.org/thread/157409) if you had that example lying around it would be really helpful...
Thanks a lot,