I have created web-service using jax-ws and used it.
How cxf and jax-ws are related?
If we can create and consume web service using jax-ws, Why we need cxf ?
Can someone give some pointers for this?
Asked
Active
Viewed 196 times
2
Hariprasad
- 3,556
- 2
- 24
- 40
hus
- 23
- 2
2 Answers
3
Please refer here and here . CXF is implementation of JAX-WS. Hence what ever your JAX-WS code, you can use in CXF. CXF provides more features like interceptors, spring integration etc. In configuration file you can use cxf or jax-ws features by specifying corresponding namespaces.
Community
- 1
- 1
Karthik Prasad
- 9,662
- 10
- 64
- 112
0
I have recently completed the web service implementation with JAX-WS using reference implementation apache-cxf. And I found with CXF - integration with Spring is very easy. Moreover, It provides various features like:
- Customization of Logging features
- Inbound and Outbound interceptor
- Application Level security
- Easy Exception handling using custom Fault.
For more detail, if you want, please checkout this link: http://predic8.com/axis2-cxf-jax-ws-comparison.htm
And, I read above link, its preety helpful for me.
Thanks !
puru
- 266
- 5
- 13