File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes XML Response modification Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "XML Response modification" Watch "XML Response modification" New topic
Author

XML Response modification

Curious Mind
Greenhorn

Joined: Dec 13, 2008
Posts: 3
Hi,
I am new to Apache CXF and I have one requirement wherein I have to modify response XML generated by CXF webservice. I am using JAX-WS.
After going through documentation it seems interceptors could be useful fo this, but I m not sure how to do it. Can someone help me with detailed sample code for achieving this.
Any help really appreciated.
(I should be able to modify message before any encryption or signing of message will be done.)


You make a matrix, you define the limits.
Curious Mind
Greenhorn

Joined: Dec 13, 2008
Posts: 3
Curious Mind wrote:Hi,
I am new to Apache CXF and I have one requirement wherein I have to modify response XML generated by CXF webservice. I am using JAX-WS.
After going through documentation it seems interceptors could be useful fo this, but I m not sure how to do it. Can someone help me with detailed sample code for achieving this.
Any help really appreciated.
(I should be able to modify message before any encryption or signing of message will be done.)


I could able to complete the requirement using JAXWS handlers and through interceptors as well.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XML Response modification